diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-12-26 10:29:43 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-26 10:29:43 +0100 |
| commit | 4f7962a7bb882af560bc5c66285424f6d3b73e45 (patch) | |
| tree | 2d178a72afdc3cf92a5c49d7f7713bbb92132fbc /sys/linux | |
| parent | 8a41a0ad8ed91a6c7a65663b1bacaf6d79cde558 (diff) | |
executor: restrict ipc resource usage
For context see:
https://groups.google.com/d/msg/syzkaller-bugs/ZaBzAJbn6i8/Py9FVlAqDQAJ
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/test/ipc | 5 |
1 files changed, 5 insertions, 0 deletions
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) |
