diff --git a/io_jail/src/test_filter.policy b/io_jail/src/test_filter.policy index 479e7e584b..9f4c943f3a 100644 --- a/io_jail/src/test_filter.policy +++ b/io_jail/src/test_filter.policy @@ -1,6 +1,7 @@ close: 1 exit: 1 futex: 1 +getpid: 1 lseek: 1 read: 1 write: 1 diff --git a/seccomp/arm/9p_device.policy b/seccomp/arm/9p_device.policy index feff21d802..c1c3aea241 100644 --- a/seccomp/arm/9p_device.policy +++ b/seccomp/arm/9p_device.policy @@ -54,3 +54,4 @@ ftruncate64: 1 fchown: arg1 == 0xffffffff && arg2 == 0xffffffff statfs64: 1 fstatat64: 1 +getpid: 1 diff --git a/seccomp/arm/9s.policy b/seccomp/arm/9s.policy index 153cf93d0b..5e9680374d 100644 --- a/seccomp/arm/9s.policy +++ b/seccomp/arm/9s.policy @@ -61,3 +61,4 @@ rmdir: 1 fchown: arg1 == 0xffffffff && arg2 == 0xffffffff mremap: 1 fstatat64: 1 +prlimit64: arg2 == 0 && arg3 != 0 diff --git a/seccomp/x86_64/9s.policy b/seccomp/x86_64/9s.policy index 400cca38b9..33590a884b 100644 --- a/seccomp/x86_64/9s.policy +++ b/seccomp/x86_64/9s.policy @@ -60,3 +60,4 @@ mkdir: 1 mremap: 1 rename: 1 newfstatat: 1 +prlimit64: arg2 == 0 && arg3 != 0 diff --git a/tests/plugin.policy b/tests/plugin.policy index 460515dac9..a3ab2f74e6 100644 --- a/tests/plugin.policy +++ b/tests/plugin.policy @@ -40,6 +40,7 @@ memfd_create: 1 mmap: 1 open: 1 openat: 1 +prlimit64: arg2 == 0 && arg3 != 0 recvmsg: 1 restart_syscall: 1 rt_sigaction: 1