diff options
author | Khadija Kamran <kamrankhadijadj@gmail.com> | 2023-08-23 10:17:29 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-09-14 01:09:35 +0300 |
commit | 4a00c673068e72c12d243f5c31000246d6984e44 (patch) | |
tree | 197059d93d35905fe91aa75b4b76a48d834a798a /fs/jbd2/commit.c | |
parent | 25cc71d1527b55c880d333e7cc1dc37aeef9843f (diff) | |
download | linux-4a00c673068e72c12d243f5c31000246d6984e44.tar.xz |
lsm: constify 'file' parameter in security_bprm_creds_from_file()
The 'bprm_creds_from_file' hook has implementation registered in
commoncap. Looking at the function implementation we observe that the
'file' parameter is not changing.
Mark the 'file' parameter of LSM hook security_bprm_creds_from_file() as
'const' since it will not be changing in the LSM hook.
Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions