aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/proc/self.c
AgeCommit message (Collapse)AuthorFilesLines
2018-08-22proc: test /proc/self symlinkAlexey Dobriyan1-0/+39
There are plans to change how /proc/self result is calculated, for that a test is necessary. Use direct system call because of this whole getpid caching story. Link: http://lkml.kernel.org/r/20180627195103.GB18113@avx2 Signed-off-by: Alexey Dobriyan <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>