Module Name:    src
Committed By:   christos
Date:           Fri Nov 21 13:31:19 UTC 2014

Modified Files:
        src/external/bsd/tcpdump/dist: tcpdump.c

Log Message:
kill the dropped privs info message


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/tcpdump/dist/tcpdump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/tcpdump/dist/tcpdump.c
diff -u src/external/bsd/tcpdump/dist/tcpdump.c:1.9 src/external/bsd/tcpdump/dist/tcpdump.c:1.10
--- src/external/bsd/tcpdump/dist/tcpdump.c:1.9	Wed Nov 19 22:05:03 2014
+++ src/external/bsd/tcpdump/dist/tcpdump.c	Fri Nov 21 08:31:19 2014
@@ -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 @@ droproot(const char *username, const cha
 			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 @@ droproot(const char *username, const cha
 			exit(1);
 		}
 		else {
-			printf("dropped privs to %s\n", username);
+//			printf("dropped privs to %s\n", username);
 		}
 #endif /* HAVE_CAP_NG_H */
 	}

Reply via email to