aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
authorMax <vdrummer@posteo.net>2021-12-11 09:08:50 +0000
committerMax <vdrummer@posteo.net>2021-12-11 09:08:50 +0000
commit63bf54b646f65a798b56905313ed15cd97a32fbf (patch)
tree272d3c872666de3d8f409854cdb411f90d4d0088 /sandbox.c
parent2d6b9b53acac9ed19d328dfc078b939f661a0ba5 (diff)
[seccomp] allow ugetrlimit(2), needed by glibc on armv7l
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox.c b/sandbox.c
index 8857c4b..a561d88 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -374,6 +374,9 @@ static struct sock_filter filter[] = {
#ifdef __NR_statx
SC_ALLOW(statx),
#endif
+#ifdef __NR_ugetrlimit
+ SC_ALLOW(ugetrlimit),
+#endif
#ifdef __NR_write
SC_ALLOW(write),
#endif