aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/proc/proc-subset-pid.c
AgeCommit message (Collapse)AuthorFilesLines
2021-05-06selftests: proc: test subset=pidAlexey Dobriyan1-0/+121
Test that /proc instance mounted with mount -t proc -o subset=pid contains only ".", "..", "self", "thread-self" and pid directories. Note: Currently "subset=pid" doesn't return "." and ".." via readdir. This must be a bug. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Alexey Dobriyan <[email protected]> Acked-by: Alexey Gladkov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>