diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2024-11-26 10:21:20 -0800 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2024-11-26 22:58:03 -0500 |
commit | a65d9d1d893b124917141bd8cdf0e0e47ff96438 (patch) | |
tree | 49e8578b17e2acec703036e70a848c3a754db7b4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8afd8c8faa24249e48f5007aee46209299377588 (diff) | |
download | linux-stable-a65d9d1d893b124917141bd8cdf0e0e47ff96438.tar.gz linux-stable-a65d9d1d893b124917141bd8cdf0e0e47ff96438.tar.bz2 linux-stable-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 <roberto.sassu@huawei.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Acked-by: Roberto Sassu <roberto.sassu@huawei.com>
[PM: subj tweak, Roberto's ACK]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions