summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2021-04-11 16:41:44 +0200
committerPhilipp Stephani <phst@google.com>2021-04-11 16:41:44 +0200
commitd06c54db1b3504caed8673216a72b117d0692351 (patch)
tree643394af34640f8e9ccddaf23f93a5c4fa3071b8 /lib-src
parent9dc26d4a8add5b3f2a5fce7907af4f9673ae82c0 (diff)
downloademacs-d06c54db1b3504caed8673216a72b117d0692351.tar.gz
Remove SCMP_FLTATR_CTL_LOG attribute from Seccomp filter.
Whether or not we log failing syscalls isn't security-critical, and we shouldn't care. * lib-src/seccomp-filter.c (main): Remove log attribute.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/seccomp-filter.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib-src/seccomp-filter.c b/lib-src/seccomp-filter.c
index 77e4413d3d4..e4d56e01b4d 100644
--- a/lib-src/seccomp-filter.c
+++ b/lib-src/seccomp-filter.c
@@ -151,7 +151,6 @@ main (int argc, char **argv)
set_attribute (SCMP_FLTATR_ACT_BADARCH, SCMP_ACT_KILL_PROCESS);
set_attribute (SCMP_FLTATR_CTL_NNP, 1);
set_attribute (SCMP_FLTATR_CTL_TSYNC, 1);
- set_attribute (SCMP_FLTATR_CTL_LOG, 0);
verify (CHAR_BIT == 8);
verify (sizeof (int) == 4 && INT_MIN == INT32_MIN