From: Philipp Stephani Date: Tue, 11 Oct 2022 00:52:51 +0000 (+0200) Subject: Add gettid to seccomp-filter X-Git-Tag: emacs-29.0.90~1616^2~663 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=92703e00dc44af604355858bf227b07e99fb2c4c;p=emacs.git Add gettid to seccomp-filter * lib-src/seccomp-filter.c (main): gettid is necessary on RHEL 9.0 (bug#56359). --- 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