]> git.eshelyaron.com Git - emacs.git/commitdiff
Add gettid to seccomp-filter
authorPhilipp Stephani <p.stephani2@gmail.com>
Tue, 11 Oct 2022 00:52:51 +0000 (02:52 +0200)
committerLars 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

index e45aa0c17f6a1d679b220559e23261f497ed9f95..7e54b878a22069fae6dd7d958d1bba1a8df38761 100644 (file)
@@ -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