linux-stable/tools/testing/selftests/proc
Swarup Laxman Kotiaklapudi bf5add391e proc: test ProtectionKey in proc-empty-vm test
Check ProtectionKey field in /proc/*/smaps output, if system supports
protection keys feature.

[adobriyan@gmail.com: test support in the beginning of the program, use syscall, not glibc pkey_alloc(3) which may not compile]

Link: https://lkml.kernel.org/r/ac05efa7-d2a0-48ad-b704-ffdd5450582e@p183
Signed-off-by: Swarup Laxman Kotiaklapudi <swarupkotikalapudi@gmail.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Swarup Laxman Kotikalapudi<swarupkotikalapudi@gmail.com>
Tested-by: Swarup Laxman Kotikalapudi<swarupkotikalapudi@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-11-01 12:46:59 -07:00
..
.gitignore proc: test how it holds up with mapping'less process 2022-10-11 18:51:11 -07:00
config
fd-001-lookup.c
fd-002-posix-eq.c
fd-003-kthread.c
Makefile proc: test how it holds up with mapping'less process 2022-10-11 18:51:11 -07:00
proc-empty-vm.c proc: test ProtectionKey in proc-empty-vm test 2023-11-01 12:46:59 -07:00
proc-fsconfig-hidepid.c
proc-loadavg-001.c
proc-multiple-procfs.c
proc-pid-vm.c proc: fix PIE proc-empty-vm, proc-pid-vm tests 2023-01-11 16:14:22 -08:00
proc-self-map-files-001.c
proc-self-map-files-002.c
proc-self-syscall.c
proc-self-wchan.c
proc-subset-pid.c
proc-tid0.c procfs: do not list TID 0 in /proc/<pid>/task 2021-11-09 10:02:48 -08:00
proc-uptime-001.c selftests/proc: Assert clock_gettime(CLOCK_BOOTTIME) VS /proc/uptime monotonicity 2023-04-18 16:35:13 +02:00
proc-uptime-002.c selftests/proc: Assert clock_gettime(CLOCK_BOOTTIME) VS /proc/uptime monotonicity 2023-04-18 16:35:13 +02:00
proc-uptime.h selftests/proc: Assert clock_gettime(CLOCK_BOOTTIME) VS /proc/uptime monotonicity 2023-04-18 16:35:13 +02:00
proc.h
read.c
self.c
setns-dcache.c
setns-sysvipc.c
thread-self.c