diff options
| author | Khadija Kamran <[email protected]> | 2023-08-12 15:31:08 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2023-08-15 20:04:34 +0000 |
| commit | 8e4672d6f902d5c4db1e87e8aa9f530149d85bc6 (patch) | |
| tree | 8b2450fcb8a618c672456e1b90801b3f8ebf1e09 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | lsm: constify the 'target' parameter in security_capget() (diff) | |
| download | kernel-8e4672d6f902d5c4db1e87e8aa9f530149d85bc6.tar.gz kernel-8e4672d6f902d5c4db1e87e8aa9f530149d85bc6.zip | |
lsm: constify the 'file' parameter in security_binder_transfer_file()
SELinux registers the implementation for the "binder_transfer_file"
hook. Looking at the function implementation we observe that the
parameter "file" is not changing.
Mark the "file" parameter of LSM hook security_binder_transfer_file() as
"const" since it will not be changing in the LSM hook.
Signed-off-by: Khadija Kamran <[email protected]>
[PM: subject line whitespace fix]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
