[PATCH v2] selftests: capabilities: namespace create varies for root and normal user

2023-11-11 Thread Swarup Laxman Kotiaklapudi
correct ok 6 Passed [RUN] UID 1 +ia => eipa validate_cap:: Capabilities after execve were correct ok 7 Passed ok 8 # SKIP SUID/SGID tests (needs privilege) Planned tests != run tests (9 != 8) Totals: pass:7 fail:0 xfail:0 xpass:0 skip:1 error:0 Signed-off-by: Swarup Laxman Kotiakla

[PATCH] selftests:proc ProtectionKey check in smpas test

2023-10-25 Thread Swarup Laxman Kotiaklapudi
Check ProtectionKey field in /proc/*/smaps output, if system supports page-based memory permissions. Signed-off-by: Swarup Laxman Kotiaklapudi --- tools/testing/selftests/proc/proc-empty-vm.c | 38 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/tools

[PATCH v2] selftests:net change ifconfig with ip command

2023-10-23 Thread Swarup Laxman Kotiaklapudi
27.25.3.14: icmp_seq=5 ttl=64 time=0.065 ms --- 127.25.3.14 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4092ms rtt min/avg/max/mdev = 0.032/0.058/0.066/0.013 ms ok ok 1 selftests: net: route_localnet.sh ... Signed-off-by: Swarup Laxman Kotiaklapudi --- tools/testing

[PATCH] selftests:net change ifconfig with ip command

2023-10-22 Thread Swarup Laxman Kotiaklapudi
27.25.3.14: icmp_seq=5 ttl=64 time=0.065 ms --- 127.25.3.14 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4092ms rtt min/avg/max/mdev = 0.032/0.058/0.066/0.013 ms ok ok 1 selftests: net: route_localnet.sh ... Signed-off-by: Swarup Laxman Kotiaklapudi --- tools/testing

[PATCH] selftests:proc add missing field KSM in smaps_rollup[] array

2023-09-30 Thread Swarup Laxman Kotiaklapudi
een below: $make TARGETS="proc" kselftest timeout set to 45 selftests: proc: proc-empty-vm ok 5 selftests: proc: proc-empty-vm Signed-off-by: Swarup Laxman Kotiaklapudi --- tools/testing/selftests/proc/proc-empty-vm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/t

[PATCH] selftests: capabilities: namespace create varies for root and normal user

2023-09-29 Thread Swarup Laxman Kotiaklapudi
ivilege) Planned tests != run tests (9 != 8) Totals: pass:7 fail:0 xfail:0 xpass:0 skip:1 error:0 Signed-off-by: Swarup Laxman Kotiaklapudi --- tools/testing/selftests/capabilities/test_execve.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/testing/selftests/capabilit