svn commit: r283122 - stable/10/contrib/tcpdump

Brooks Davis brooks at FreeBSD.org
Tue May 19 19:01:53 UTC 2015


Author: brooks
Date: Tue May 19 19:01:52 2015
New Revision: 283122
URL: https://svnweb.freebsd.org/changeset/base/283122

Log:
  MFC r282436 (the portion that makes sense):
  
  Remove "capability mode sandbox enabled" messages.
  
  These messages serve little purpose and break some consumers.
  
  PR:		199855
  Differential Revision:	https://reviews.freebsd.org/D2440
  Reviewed by:	rwatson
  Approved by:	pjd
  Sponsored by:	DARPA, AFRL

Modified:
  stable/10/contrib/tcpdump/tcpdump.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/tcpdump/tcpdump.c
==============================================================================
--- stable/10/contrib/tcpdump/tcpdump.c	Tue May 19 19:01:22 2015	(r283121)
+++ stable/10/contrib/tcpdump/tcpdump.c	Tue May 19 19:01:52 2015	(r283122)
@@ -1618,8 +1618,6 @@ main(int argc, char **argv)
 	cansandbox = (nflag && VFileName == NULL && zflag == NULL);
 	if (cansandbox && cap_enter() < 0 && errno != ENOSYS)
 		error("unable to enter the capability mode");
-	if (cap_sandboxed())
-		fprintf(stderr, "capability mode sandbox enabled\n");
 #endif	/* __FreeBSD__ */
 
 	do {


More information about the svn-src-all mailing list