about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-08-09 19:31:20 +0200
committerbptato <nincsnevem662@gmail.com>2024-08-09 19:31:20 +0200
commit6365d9719a25abdef660868c05452dc97456aec5 (patch)
tree0beb0ddf3a3ce054ca1057b16cd75cbbcd889450
parent4d6c8ad147cb73ca4e9d3fa3db7eb919100a1f63 (diff)
downloadchawan-6365d9719a25abdef660868c05452dc97456aec5.tar.gz
sandbox: allow ugetrlimit
called on armhf
-rw-r--r--src/utils/sandbox.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/sandbox.nim b/src/utils/sandbox.nim
index 19e6fd0a..059bfe4b 100644
--- a/src/utils/sandbox.nim
+++ b/src/utils/sandbox.nim
@@ -170,6 +170,7 @@ elif SandboxMode == stLibSeccomp:
       "timerfd_create", # used by Nim selectors
       "timerfd_gettime", # not actually used by Nim but may be in the future
       "timerfd_settime", # used by Nim selectors
+      "ugetrlimit", # glibc uses it after fork it seems
       "write" # for writing to sockets
     ]
     for it in allowList: