linux-next/tools/testing/selftests/lsm
Amit Vadhavana 7a9b65ab0a selftests: refactor the lsm flags_overset_lsm_set_self_attr test
Remove the temporary context variable `tctx` to simplify the code. use
the original context `ctx` directly in calls to `lsm_get_self_attr`,
eliminating redundancy without any functional changes.

Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Amit Vadhavana <av2082000@gmail.com>
[PM: subject tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
2024-12-18 18:14:29 -05:00
..
.gitignore LSM: selftests for Linux Security Module syscalls 2023-11-12 22:54:42 -05:00
common.c LSM: selftests for Linux Security Module syscalls 2023-11-12 22:54:42 -05:00
common.h lsm: use 32-bit compatible data types in LSM syscalls 2024-03-14 11:31:26 -04:00
config LSM: selftests for Linux Security Module syscalls 2023-11-12 22:54:42 -05:00
lsm_get_self_attr_test.c lsm: use 32-bit compatible data types in LSM syscalls 2024-03-14 11:31:26 -04:00
lsm_list_modules_test.c lsm: add IPE lsm 2024-08-19 22:36:26 -04:00
lsm_set_self_attr_test.c selftests: refactor the lsm flags_overset_lsm_set_self_attr test 2024-12-18 18:14:29 -05:00
Makefile LSM: selftests for Linux Security Module syscalls 2023-11-12 22:54:42 -05:00