aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorSargun Dhillon <[email protected]>2020-01-07 17:59:27 +0000
committerChristian Brauner <[email protected]>2020-01-13 20:49:54 +0000
commit873dfd7881d1d8840bf69c8c164f5323db7417fa (patch)
tree681e1f79da80c11111ec39e28d87d8362c276e15 /lib/test_bitmap.c
parentarch: wire up pidfd_getfd syscall (diff)
downloadkernel-873dfd7881d1d8840bf69c8c164f5323db7417fa.tar.gz
kernel-873dfd7881d1d8840bf69c8c164f5323db7417fa.zip
test: Add test for pidfd getfd
The following tests: * Fetch FD, and then compare via kcmp * Make sure getfd can be blocked by blocking ptrace_may_access * Making sure fetching bad FDs fails * Make sure trying to set flags to non-zero results in an EINVAL Signed-off-by: Sargun Dhillon <[email protected]> Acked-by: Christian Brauner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions