From 3b7c766275927c35d93fac49a72889bd26337622 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 9 Feb 2020 21:01:26 +0100 Subject: seccomp: Allow time64 variants (>402,<415) of allowed syscalls Went through the list of syscalls starting at 403 (and looked one back) up to the next unknown syscalls, and added all those that were present in their non-time64 variant. Closes: #951012 --- methods/aptmethod.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'methods') diff --git a/methods/aptmethod.h b/methods/aptmethod.h index de931dd7e..984b6e996 100644 --- a/methods/aptmethod.h +++ b/methods/aptmethod.h @@ -137,8 +137,11 @@ protected: ALLOW(chown); ALLOW(chown32); ALLOW(clock_getres); + ALLOW(clock_getres_time64); ALLOW(clock_gettime); + ALLOW(clock_gettime64); ALLOW(clock_nanosleep); + ALLOW(clock_nanosleep_time64); ALLOW(close); ALLOW(creat); ALLOW(dup); @@ -220,9 +223,11 @@ protected: ALLOW(pipe2); ALLOW(poll); ALLOW(ppoll); + ALLOW(ppoll_time64); ALLOW(prctl); ALLOW(prlimit64); ALLOW(pselect6); + ALLOW(pselect6_time64); ALLOW(read); ALLOW(readv); ALLOW(rename); @@ -264,6 +269,7 @@ protected: ALLOW(unlinkat); ALLOW(utime); ALLOW(utimensat); + ALLOW(utimensat_time64); ALLOW(utimes); ALLOW(write); ALLOW(writev); -- cgit v1.2.3