projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf9ac85
)
Add gettid to seccomp-filter
author
Philipp Stephani
<p.stephani2@gmail.com>
Tue, 11 Oct 2022 00:52:51 +0000
(
02:52
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 11 Oct 2022 00:52:51 +0000
(
02:52
+0200)
* lib-src/seccomp-filter.c (main): gettid is necessary on RHEL 9.0
(bug#56359).
lib-src/seccomp-filter.c
patch
|
blob
|
history
diff --git
a/lib-src/seccomp-filter.c
b/lib-src/seccomp-filter.c
index e45aa0c17f6a1d679b220559e23261f497ed9f95..7e54b878a22069fae6dd7d958d1bba1a8df38761 100644
(file)
--- a/
lib-src/seccomp-filter.c
+++ b/
lib-src/seccomp-filter.c
@@
-221,6
+221,7
@@
main (int argc, char **argv)
RULE (SCMP_ACT_ALLOW, SCMP_SYS (getuid));
RULE (SCMP_ACT_ALLOW, SCMP_SYS (geteuid));
RULE (SCMP_ACT_ALLOW, SCMP_SYS (getpid));
+ RULE (SCMP_ACT_ALLOW, SCMP_SYS (gettid));
RULE (SCMP_ACT_ALLOW, SCMP_SYS (getpgrp));
/* Allow operations on open file descriptors. File descriptors are