summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-06-04 03:12:39 +0000
committergVisor bot <gvisor-bot@google.com>2021-06-04 03:12:39 +0000
commit1a78990139a9d1c08fdc2f3ab0563ae968ad4552 (patch)
treeb673b3602b4d451d5b0b0a4bcc148ff374f3c793 /runsc/boot
parentc43691a05306e48d6d1623b32073f8453ad994ef (diff)
parent86cf56eb71215e24fec49272d915f80c9c569c05 (diff)
Merge release-20210518.0-71-g86cf56eb7 (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/filter/config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/runsc/boot/filter/config.go b/runsc/boot/filter/config.go
index 49b503f99..905747954 100644
--- a/runsc/boot/filter/config.go
+++ b/runsc/boot/filter/config.go
@@ -200,6 +200,12 @@ var allowedSyscalls = seccomp.SyscallRules{
seccomp.MatchAny{},
seccomp.MatchAny{},
seccomp.MatchAny{},
+ seccomp.EqualTo(unix.MAP_SHARED | unix.MAP_FIXED),
+ },
+ {
+ seccomp.MatchAny{},
+ seccomp.MatchAny{},
+ seccomp.MatchAny{},
seccomp.EqualTo(unix.MAP_PRIVATE),
},
{