mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +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);
|