diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-09 21:01:26 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-09 22:06:30 +0100 |
commit | 3b7c766275927c35d93fac49a72889bd26337622 (patch) | |
tree | c8638d3c3e42a96eb63f2c19afc2f6c7b829109b | |
parent | ef50424be1586b91a99d28bf5108f3999cc908fb (diff) |
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
-rw-r--r-- | methods/aptmethod.h | 6 |
1 files changed, 6 insertions, 0 deletions
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); |