add clock_gettime64(2) to sandbox allowed syscalls

bz3093
This commit is contained in:
Damien Miller 2020-02-03 19:40:12 +11:00
parent adffbe1c64
commit ccd3b247d5

View File

@ -188,6 +188,9 @@ static const struct sock_filter preauth_insns[] = {
#ifdef __NR_clock_gettime
SC_ALLOW(__NR_clock_gettime),
#endif
#ifdef __NR_clock_gettime64
SC_ALLOW(__NR_clock_gettime64),
#endif
#ifdef __NR_close
SC_ALLOW(__NR_close),
#endif