diff options
author | Thomas Habets <habets@google.com> | 2021-12-26 15:11:02 +0000 |
---|---|---|
committer | Thomas Habets <habets@google.com> | 2021-12-26 15:11:02 +0000 |
commit | 5efae73f90d79da6723b1f364b4bdee8b121bbe9 (patch) | |
tree | a02202afe24127a4dc5acb41f7653bb4f8012eb0 | |
parent | 85eea7f245488e5fa439a3cf124c4759114cc4b8 (diff) | |
download | arping-5efae73f90d79da6723b1f364b4bdee8b121bbe9.tar.gz |
Print verbose message when seccomp enabled
-rw-r--r-- | src/arping.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arping.c b/src/arping.c index 01fb371..97baca7 100644 --- a/src/arping.c +++ b/src/arping.c @@ -532,6 +532,9 @@ static void drop_seccomp(int libnet_fd) exit(1); } seccomp_release(ctx); + if (verbose > 1) { + printf("arping: Successfully applied seccomp policy\n"); + } } #endif |