diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-11-17 23:29:42 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-11-17 23:32:01 +0100 |
| commit | 79d832c37b646db4cf82a86069d6fdc68966cc97 (patch) | |
| tree | 62eb226e289f6e26a93f305570e36447aaf3a645 /lib/chaseccomp/network.chasc | |
| parent | ad1ecd3d066eafa1add163323a94fb7c88b80da0 (diff) | |
| download | chawan-79d832c37b646db4cf82a86069d6fdc68966cc97.tar.gz | |
network.chasc: allow clock_gettime
ref. https://todo.sr.ht/~bptato/chawan/23
TODO: I'm not quite sure *why* it's getting called. curls operate in
mysterious ways.
Diffstat (limited to 'lib/chaseccomp/network.chasc')
| -rw-r--r-- | lib/chaseccomp/network.chasc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chaseccomp/network.chasc b/lib/chaseccomp/network.chasc index d6f86165..4675b96c 100644 --- a/lib/chaseccomp/network.chasc +++ b/lib/chaseccomp/network.chasc @@ -10,6 +10,12 @@ ifeqdef SYS_sendto allow ifeqdef SYS_recvmsg allow ifeqdef SYS_sendmsg allow +# curl also seems to call clock_gettime in some cases - but I have no +# idea how to reproduce this. +# anyway, it does no harm, so let it live. +ifeqdef SYS_clock_gettime allow +ifeqdef SYS_clock_gettime64 allow + # used indirectly by OpenSSL EVP_RAND_CTX_new (through drbg) ifeqdef SYS_getpid allow |