about summary refs log tree commit diff stats
path: root/lib/quickjs/cutils.c
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-04-20 12:40:57 +0200
committerbptato <nincsnevem662@gmail.com>2024-04-20 12:47:49 +0200
commit2df3a394d96c116301bb4df2fd1f67b8311fddee (patch)
tree57ffe7a8b659ab4c864bb67917f1e115f44b8534 /lib/quickjs/cutils.c
parent503925d2c91e967d51354e322daec4feb62e7ff7 (diff)
downloadchawan-2df3a394d96c116301bb4df2fd1f67b8311fddee.tar.gz
sandbox: allow syscalls for epoll Nim selectors
This fixes setTimeout/setInterval causing crashes.

Note: timerfd_gettime is not actually used by Nim right now.
However, it seems like a good idea to add it to the set in case a
future Nim version needs it, as it does no harm.

We still do not allow signalfd, because it would let rogue buffers
override our SIGSYS handler.  (Not sure if this really matters, but
we don't need it for now anyway.)
Diffstat (limited to 'lib/quickjs/cutils.c')
0 files changed, 0 insertions, 0 deletions