aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/caps
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: fix caps test for new descriptionsDmitry Vyukov2019-12-181-3/+3
|
* executor: drop CAP_SYS_NICEDmitry Vyukov2019-07-221-0/+3
| | | | | | | | | | A process with CAP_SYS_NICE can bring kernel down by asking for too high SCHED_DEADLINE priority, as the result rcu and other system services that use kernel threads will stop functioning. Some parameters for SCHED_DEADLINE should be OK, but we don't have means to enforce values of indirect syscall arguments. Peter Zijlstra proposed sysctl_deadline_period_{min,max} which could be used to enfore safe limits without droppping CAP_SYS_NICE, but we don't have it yet. See the following bug for details: https://groups.google.com/forum/#!topic/syzkaller-bugs/G6Wl_PKPIWI
* executor: drop CAP_SYS_PTRACE with sandbox=noneDmitry Vyukov2019-07-221-0/+5
We only drop CAP_SYS_PTRACE for sandbox=namespace, but it can equally affect testing with sandbox=none. Drop it for sandbox=none, add a test.