projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc26d4
)
Remove SCMP_FLTATR_CTL_LOG attribute from Seccomp filter.
author
Philipp Stephani
<phst@google.com>
Sun, 11 Apr 2021 14:41:44 +0000
(16:41 +0200)
committer
Philipp Stephani
<phst@google.com>
Sun, 11 Apr 2021 14:41:44 +0000
(16:41 +0200)
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
patch
|
blob
|
history
diff --git
a/lib-src/seccomp-filter.c
b/lib-src/seccomp-filter.c
index 77e4413d3d406452b94d4c3f5dc649abbd3770f8..e4d56e01b4d87bba532955861a9c33e8c3a16e34 100644
(file)
--- 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