aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test/caps
blob: e824fe3e04991fc36e8e23d0b79f135bae82f7b9 (plain)
1
2
3
4
5
6
7
8
# Ensure that test processes don't have capabilities to do dangerious things,
# see drop_caps function in executor for details.
# requires: -sandbox=

ptrace(0x10, 0x1)	# EPERM
sched_setattr(0x0, &AUTO={AUTO, 0x6, 0x0, 0x0, 0x0, 0x8000000009917, 0x400000000000fffd, 0x0, 0x0, 0x0}, 0x0)	# EPERM
sched_setattr(0x0, &AUTO={AUTO, 0x0, 0x0, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x0)	# EPERM
sched_setattr(0x0, &AUTO={AUTO, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x0)