summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2015-05-19 19:01:52 +0000
committerbrooks <brooks@FreeBSD.org>2015-05-19 19:01:52 +0000
commitb4fe1f9ecc338294f0cec71ef718d81c53766c33 (patch)
tree0c25823e2a624ee3102c5c02b733cd1bdb1d0c9d /contrib
parent4d744c17ad3ab9cecf2a327c78c8e6af7ce357a3 (diff)
downloadFreeBSD-src-b4fe1f9ecc338294f0cec71ef718d81c53766c33.zip
FreeBSD-src-b4fe1f9ecc338294f0cec71ef718d81c53766c33.tar.gz
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
Diffstat (limited to 'contrib')
-rw-r--r--contrib/tcpdump/tcpdump.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/tcpdump/tcpdump.c b/contrib/tcpdump/tcpdump.c
index d5dae16..511e1af 100644
--- a/contrib/tcpdump/tcpdump.c
+++ b/contrib/tcpdump/tcpdump.c
@@ -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 {
OpenPOWER on IntegriCloud