diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-15 23:57:55 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-15 23:57:55 +0200 |
commit | dd5f480ebecec6758991c226af208c79e2fe9cbc (patch) | |
tree | d777b35f764198f06269d128d450f29ca26676be /src/utils | |
parent | 4a394302f3197dfa48edb09bd0773aa94dc8188d (diff) | |
download | chawan-dd5f480ebecec6758991c226af208c79e2fe9cbc.tar.gz |
sandbox: always allow epoll_pwait
looks like it's also necessary for musl
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/sandbox.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/sandbox.nim b/src/utils/sandbox.nim index 6f63139f..9e0498a5 100644 --- a/src/utils/sandbox.nim +++ b/src/utils/sandbox.nim @@ -89,7 +89,6 @@ elif SandboxMode == stLibSeccomp: # Things needed for bionic libc. Tested with Termux. const androidAllowList = [ cstring"rt_sigprocmask", - "epoll_pwait", "madvise" ] for it in androidAllowList: @@ -177,6 +176,7 @@ elif SandboxMode == stLibSeccomp: "close", # duh "connect", # for outgoing requests to loader "epoll_create", "epoll_create1", "epoll_ctl", "epoll_wait", # epoll stuff + "epoll_pwait", # for bionic & musl "eventfd", # used by Nim selectors "exit_group", # for quit "fork", # for when fork is really fork |