aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/proc/proc-subset-pid.c (follow)
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/YFYZZ7WGaZlsnChS@localhost.localdomain Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Alexey Gladkov <gladkov.alexey@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>