From 63bf54b646f65a798b56905313ed15cd97a32fbf Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 11 Dec 2021 09:08:50 +0000 Subject: [PATCH] [seccomp] allow ugetrlimit(2), needed by glibc on armv7l --- sandbox.c | 3 +++ 1 file changed, 3 insertions(+) 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