diff options
| author | Amit Vadhavana <[email protected]> | 2024-11-16 15:21:36 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2024-12-18 23:14:29 +0000 |
| commit | 7a9b65ab0abd52ae646ba327522315d7500a7d4f (patch) | |
| tree | 7bff50c92a79b6c10293def394e1bb5758459fca /tools/testing/selftests/net/lib/py/utils.py | |
| parent | binder: initialize lsm_context structure (diff) | |
| download | kernel-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
