From cfb6061b82daa67def0349938bf6267c37e9906d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 27 Oct 2017 21:58:27 +0200 Subject: seccomp: Allow clock_nanosleep() and nanosleep() syscalls We sleep in http.cc, so we should allow the sleeping syscalls. --- methods/aptmethod.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'methods') 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); -- cgit v1.2.3