Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/tcpdump/dist kill the dropped privs info message



details:   https://anonhg.NetBSD.org/src/rev/496c4055957c
branches:  trunk
changeset: 804043:496c4055957c
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 21 13:31:19 2014 +0000

description:
kill the dropped privs info message

diffstat:

 external/bsd/tcpdump/dist/tcpdump.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r b67404cbccc8 -r 496c4055957c external/bsd/tcpdump/dist/tcpdump.c
--- a/external/bsd/tcpdump/dist/tcpdump.c       Fri Nov 21 09:40:10 2014 +0000
+++ b/external/bsd/tcpdump/dist/tcpdump.c       Fri Nov 21 13:31:19 2014 +0000
@@ -30,7 +30,7 @@
 static const char copyright[] _U_ =
     "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
 The Regents of the University of California.  All rights reserved.\n";
-__RCSID("$NetBSD: tcpdump.c,v 1.9 2014/11/20 03:05:03 christos Exp $");
+__RCSID("$NetBSD: tcpdump.c,v 1.10 2014/11/21 13:31:19 christos Exp $");
 #endif
 
 /*
@@ -742,7 +742,7 @@
                        fprintf(stderr, "error : ret %d\n", ret);
                }
                else {
-                       printf("dropped privs to %s\n", username);
+//                     printf("dropped privs to %s\n", username);
                }
                /* We don't need CAP_SETUID and CAP_SETGID */
                capng_update(CAPNG_DROP, CAPNG_EFFECTIVE, CAP_SETUID);
@@ -762,7 +762,7 @@
                        exit(1);
                }
                else {
-                       printf("dropped privs to %s\n", username);
+//                     printf("dropped privs to %s\n", username);
                }
 #endif /* HAVE_CAP_NG_H */
        }



Home | Main Index | Thread Index | Old Index