emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d06c54d 1/2: Remove SCMP_FLTATR_CTL_LOG attribute from Seccomp fi


From: Philipp Stephani
Subject: master d06c54d 1/2: Remove SCMP_FLTATR_CTL_LOG attribute from Seccomp filter.
Date: Sun, 11 Apr 2021 10:51:46 -0400 (EDT)

branch: master
commit d06c54db1b3504caed8673216a72b117d0692351
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>

    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.
---
 lib-src/seccomp-filter.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib-src/seccomp-filter.c b/lib-src/seccomp-filter.c
index 77e4413..e4d56e0 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]