Allow ppoll_time64 in seccomp sandbox.
Should fix sandbox violations on (some? at least i386 and armhf) 32bit Linux platforms. Patch from chutzpahu at gentoo.org and cjwatson at debian.org via bz#3396.
This commit is contained in:
parent
0132056efa
commit
284b6e5394
|
@ -276,6 +276,9 @@ static const struct sock_filter preauth_insns[] = {
|
||||||
#ifdef __NR_ppoll
|
#ifdef __NR_ppoll
|
||||||
SC_ALLOW(__NR_ppoll),
|
SC_ALLOW(__NR_ppoll),
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __NR_ppoll_time64
|
||||||
|
SC_ALLOW(__NR_ppoll_time64),
|
||||||
|
#endif
|
||||||
#ifdef __NR_poll
|
#ifdef __NR_poll
|
||||||
SC_ALLOW(__NR_poll),
|
SC_ALLOW(__NR_poll),
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue