aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorAmit Vadhavana <[email protected]>2024-11-16 15:21:36 +0000
committerPaul Moore <[email protected]>2024-12-18 23:14:29 +0000
commit7a9b65ab0abd52ae646ba327522315d7500a7d4f (patch)
tree7bff50c92a79b6c10293def394e1bb5758459fca /tools/testing/selftests/net/lib/py/utils.py
parentbinder: initialize lsm_context structure (diff)
downloadkernel-7a9b65ab0abd52ae646ba327522315d7500a7d4f.tar.gz
kernel-7a9b65ab0abd52ae646ba327522315d7500a7d4f.zip
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 <[email protected]> Reviewed-by: Shuah Khan <[email protected]> Signed-off-by: Amit Vadhavana <[email protected]> [PM: subject tweak] Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions