Re: [PATCH] proc: test subset=pid

2021-03-20 Thread Alexey Gladkov
On Sat, Mar 20, 2021 at 06:48:55PM +0300, Alexey Dobriyan wrote: > 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. > Thi

[PATCH] proc: test subset=pid

2021-03-20 Thread Alexey Dobriyan
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. Signed-off-by: Alexey Dobriyan --- tools/testing/selftests/p