From 4f7962a7bb882af560bc5c66285424f6d3b73e45 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 26 Dec 2018 10:29:43 +0100 Subject: executor: restrict ipc resource usage For context see: https://groups.google.com/d/msg/syzkaller-bugs/ZaBzAJbn6i8/Py9FVlAqDQAJ --- sys/linux/test/ipc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sys/linux/test/ipc (limited to 'sys/linux') diff --git a/sys/linux/test/ipc b/sys/linux/test/ipc new file mode 100644 index 000000000..64d46355b --- /dev/null +++ b/sys/linux/test/ipc @@ -0,0 +1,5 @@ +# Large sem sets must be prohibited in the main ipc namespace. + +semget$private(0x0, 0x4000, 0x0) # EINVAL +unshare(0x8000000) +semget$private(0x0, 0x4000, 0x0) -- cgit mrf-deployment