[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 92703e00dc: Add gettid to seccomp-filter
From: |
Lars Ingebrigtsen |
Subject: |
master 92703e00dc: Add gettid to seccomp-filter |
Date: |
Mon, 10 Oct 2022 20:53:05 -0400 (EDT) |
branch: master
commit 92703e00dc44af604355858bf227b07e99fb2c4c
Author: Philipp Stephani <p.stephani2@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 e45aa0c17f..7e54b878a2 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 92703e00dc: Add gettid to seccomp-filter,
Lars Ingebrigtsen <=