Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148357326
D2440.id5190.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D2440.id5190.diff
View Options
Index: head/contrib/tcpdump/tcpdump.c
===================================================================
--- head/contrib/tcpdump/tcpdump.c
+++ head/contrib/tcpdump/tcpdump.c
@@ -1921,8 +1921,6 @@
#endif
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 {
Index: head/sbin/ping/ping.c
===================================================================
--- head/sbin/ping/ping.c
+++ head/sbin/ping/ping.c
@@ -737,9 +737,6 @@
if (cansandbox && cap_enter() < 0 && errno != ENOSYS)
err(1, "cap_enter");
- if (cap_sandboxed())
- fprintf(stderr, "capability mode sandbox enabled\n");
-
cap_rights_init(&rights, CAP_RECV, CAP_EVENT, CAP_SETSOCKOPT);
if (cap_rights_limit(srecv, &rights) < 0 && errno != ENOSYS)
err(1, "cap_rights_limit srecv");
Index: head/usr.bin/kdump/kdump.c
===================================================================
--- head/usr.bin/kdump/kdump.c
+++ head/usr.bin/kdump/kdump.c
@@ -352,8 +352,6 @@
limitfd(STDIN_FILENO);
limitfd(STDOUT_FILENO);
limitfd(STDERR_FILENO);
- if (cap_sandboxed())
- fprintf(stderr, "capability mode sandbox enabled\n");
TAILQ_INIT(&trace_procs);
drop_logged = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 8:25 AM (5 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29894130
Default Alt Text
D2440.id5190.diff (1 KB)
Attached To
Mode
D2440: Remove "capability mode sandbox enabled" messages.
Attached
Detach File
Event Timeline
Log In to Comment