[PATCH v2] selftests: lsm: Refactor `flags_overset_lsm_set_self_attr` test
Paul Moore
paul at paul-moore.com
Wed Dec 18 23:14:28 UTC 2024
On Nov 16, 2024 Amit Vadhavana <av2082000 at gmail.com> 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 <casey at schaufler-ca.com>
> Reviewed-by: Shuah Khan <skhan at linuxfoundation.org>
> Signed-off-by: Amit Vadhavana <av2082000 at gmail.com>
> ---
> V1:- https://lore.kernel.org/all/20241112182810.24761-1-av2082000@gmail.com/
> V1 -> V2 :
> write complete sentences instead of bullet points in the change log.
> ---
> tools/testing/selftests/lsm/lsm_set_self_attr_test.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
Thank you for working on improving the tests, merged into lsm/dev.
--
paul-moore.com
More information about the Linux-security-module-archive
mailing list