diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-12-16 13:55:56 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-12-16 13:55:56 +1100 |
commit | 5af6fd5461bb709304e6979c8b7856c7af921c9e (patch) | |
tree | 363965a04bbffe36d7b6d7e236f38a603453b69d /sandbox-seccomp-filter.c | |
parent | fff8ff6dd580e1a72ba09a6775d185175cdc8d13 (diff) |
Allow clock_nanosleep_time64 in seccomp sandbox.
Needed on Linux ARM. bz#3100, patch from jjelen@redhat.com.
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r-- | sandbox-seccomp-filter.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c index be2397671..3ef30c9d5 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c | |||
@@ -245,6 +245,9 @@ static const struct sock_filter preauth_insns[] = { | |||
245 | #ifdef __NR_clock_nanosleep | 245 | #ifdef __NR_clock_nanosleep |
246 | SC_ALLOW(__NR_clock_nanosleep), | 246 | SC_ALLOW(__NR_clock_nanosleep), |
247 | #endif | 247 | #endif |
248 | #ifdef __NR_clock_nanosleep_time64 | ||
249 | SC_ALLOW(__NR_clock_nanosleep_time64), | ||
250 | #endif | ||
248 | #ifdef __NR__newselect | 251 | #ifdef __NR__newselect |
249 | SC_ALLOW(__NR__newselect), | 252 | SC_ALLOW(__NR__newselect), |
250 | #endif | 253 | #endif |