aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/ipc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-01-31 10:03:46 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-01-31 11:35:53 +0100
commit31fc335d7c12b81b54063439f70fee090b6f07a4 (patch)
treea60e5ae2e29be612ecfc49f0d9441841a2dc2efe /sys/linux/test/ipc
parent937e1ba861aa34554f512e1f6d0b493d89b883fc (diff)
sys/linux/test: fix constraints in ipc test
Diffstat (limited to 'sys/linux/test/ipc')
-rw-r--r--sys/linux/test/ipc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/linux/test/ipc b/sys/linux/test/ipc
index 64d46355b..5dc551abc 100644
--- a/sys/linux/test/ipc
+++ b/sys/linux/test/ipc
@@ -1,4 +1,6 @@
# Large sem sets must be prohibited in the main ipc namespace.
+# There is no restriction without sandbox. Setuid can't do unshare.
+# requires: -sandbox= -sandbox=setuid
semget$private(0x0, 0x4000, 0x0) # EINVAL
unshare(0x8000000)