seccomp: whitelist io_pgetevents

io_pgetevents() is a new Linux system call, similar to the already-whitelisted
io_getevents(). It has no security implications. Whitelist it so applications can
use the new system call.

Fixes #3105.

Signed-off-by: Avi Kivity <avi@scylladb.com>
This commit is contained in:
Avi Kivity 2019-03-19 11:55:20 +02:00
parent b90eeadafa
commit 4506eb45bf

View File

@ -161,6 +161,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
"ioctl", "ioctl",
"io_destroy", "io_destroy",
"io_getevents", "io_getevents",
"io_pgetevents",
"ioprio_get", "ioprio_get",
"ioprio_set", "ioprio_set",
"io_setup", "io_setup",