From 92703e00dc44af604355858bf227b07e99fb2c4c Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Tue, 11 Oct 2022 02:52:51 +0200 Subject: [PATCH] Add gettid to seccomp-filter * lib-src/seccomp-filter.c (main): gettid is necessary on RHEL 9.0 (bug#56359). --- lib-src/seccomp-filter.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5