diff options
| author | Casey Schaufler <[email protected]> | 2024-11-26 18:21:20 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2024-11-27 03:58:03 +0000 |
| commit | a65d9d1d893b124917141bd8cdf0e0e47ff96438 (patch) | |
| tree | 49e8578b17e2acec703036e70a848c3a754db7b4 /tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py | |
| parent | lsm: remove lsm_prop scaffolding (diff) | |
| download | kernel-a65d9d1d893b124917141bd8cdf0e0e47ff96438.tar.gz kernel-a65d9d1d893b124917141bd8cdf0e0e47ff96438.zip | |
ima: uncover hidden variable in ima_match_rules()
The variable name "prop" is inadvertently used twice in
ima_match_rules(), resulting in incorrect use of the local
variable when the function parameter should have been.
Rename the local variable and correct the use of the parameter.
Suggested-by: Roberto Sassu <[email protected]>
Signed-off-by: Casey Schaufler <[email protected]>
Acked-by: Roberto Sassu <[email protected]>
[PM: subj tweak, Roberto's ACK]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py')
0 files changed, 0 insertions, 0 deletions
