Re: [PATCH v2] selftests: lsm: Refactor `flags_overset_lsm_set_self_attr` test

2024-12-18 Thread Paul Moore
On Nov 16, 2024 Amit Vadhavana wrote: > > 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 > Reviewed-by: Shuah

[PATCH V2] selftests: lsm: Refactor `flags_overset_lsm_set_self_attr` test

2024-11-16 Thread Amit Vadhavana
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 Reviewed-by: Shuah Khan Signed-off-by: Amit Vadhavana --- V1:- https://