summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorPhilipp Stephani <p.stephani2@gmail.com>2022-10-11 02:52:51 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-10-11 02:52:51 +0200
commit92703e00dc44af604355858bf227b07e99fb2c4c (patch)
treecd33fab5b4a6d1ea0350e141260d25f4b75f536d /lib-src
parentcf9ac857857e52a337864b3ea0dc39c186d56158 (diff)
downloademacs-92703e00dc44af604355858bf227b07e99fb2c4c.tar.gz
Add gettid to seccomp-filter
* lib-src/seccomp-filter.c (main): gettid is necessary on RHEL 9.0 (bug#56359).
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/seccomp-filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib-src/seccomp-filter.c b/lib-src/seccomp-filter.c
index e45aa0c17f6..7e54b878a22 100644
--- 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