diff options
author | Julian Andres Klode <jak@debian.org> | 2017-10-27 21:58:27 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-10-27 21:58:27 +0200 |
commit | cfb6061b82daa67def0349938bf6267c37e9906d (patch) | |
tree | 49fc0c719d828ba72ca807995fd3cb2e69d95cfa /methods/aptmethod.h | |
parent | cc1f94c95373670fdfdb8e2d6cf9125181f7df0c (diff) |
seccomp: Allow clock_nanosleep() and nanosleep() syscalls
We sleep in http.cc, so we should allow the sleeping syscalls.
Diffstat (limited to 'methods/aptmethod.h')
-rw-r--r-- | methods/aptmethod.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/methods/aptmethod.h b/methods/aptmethod.h index e406e3c37..5cae7295b 100644 --- a/methods/aptmethod.h +++ b/methods/aptmethod.h @@ -94,6 +94,7 @@ protected: ALLOW(chown32); ALLOW(clock_getres); ALLOW(clock_gettime); + ALLOW(clock_nanosleep); ALLOW(close); ALLOW(creat); ALLOW(dup); @@ -161,6 +162,7 @@ protected: ALLOW(mremap); ALLOW(msync); ALLOW(munmap); + ALLOW(nanosleep); ALLOW(newfstatat); ALLOW(_newselect); ALLOW(oldfstat); |