diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-30 21:24:09 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-30 21:24:41 +0200 |
commit | bcadca71a694c68263d03da27fcaf3fc897da38f (patch) | |
tree | 87ad9cc1ff4273b0b619c5f3831133f418799a2d /src/utils | |
parent | 2fc7517d700e6d772d98b47f179e4bb44638919e (diff) | |
download | chawan-bcadca71a694c68263d03da27fcaf3fc897da38f.tar.gz |
sandbox: allow clock_gettime64
used on 32-bit platforms
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/sandbox.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/sandbox.nim b/src/utils/sandbox.nim index 8eaef660..7c886807 100644 --- a/src/utils/sandbox.nim +++ b/src/utils/sandbox.nim @@ -171,7 +171,8 @@ elif SandboxMode == stLibSeccomp: "accept4", # for when accept is implemented as accept4 "bind", # for outgoing requests to loader "brk", # memory allocation - "clock_gettime", # used by QuickJS in atomics + "clock_gettime", # used by QuickJS in atomics and cpuTime() + "clock_gettime64", # used instead of clock_gettime on some platforms "clone", # for when fork is implemented as clone "close", # duh "connect", # for outgoing requests to loader |