mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
12 lines
559 B
Diff
12 lines
559 B
Diff
diff --git a/linux_priv.c b/linux_priv.c
|
|
index 401e02a..19ceb10 100644
|
|
--- a/linux_priv.c
|
|
+++ b/linux_priv.c
|
|
@@ -129,6 +129,7 @@ void drop_worker_privileges(void) {
|
|
|
|
int rc = 0;
|
|
rc |= seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(sigreturn), 0);
|
|
+ rc |= seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(rt_sigreturn), 0);
|
|
rc |= seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(rt_sigprocmask), 0);
|
|
rc |= seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(futex), 0);
|
|
rc |= seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(epoll_wait), 0);
|