diff options
Diffstat (limited to 'sbin/ping/ping.c')
-rw-r--r-- | sbin/ping/ping.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index f24ecdeea0c9..23d5696b3ea2 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -737,9 +737,6 @@ main(int argc, char *const *argv) 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"); |