diff options
author | Khadija Kamran <kamrankhadijadj@gmail.com> | 2023-08-23 10:47:56 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-09-14 01:13:05 +0300 |
commit | 64fc9526147c7fc14535134d8ea79b9c8dc549a7 (patch) | |
tree | 20aabf4c2f533e7b164f5acab23a9ae40b90b607 /fs/jbd2/commit.c | |
parent | 4a00c673068e72c12d243f5c31000246d6984e44 (diff) | |
download | linux-64fc9526147c7fc14535134d8ea79b9c8dc549a7.tar.xz |
lsm: constify 'bprm' parameter in security_bprm_committing_creds()
The 'bprm_committing_creds' hook has implementations registered in
SELinux and Apparmor. Looking at the function implementations we observe
that the 'bprm' parameter is not changing.
Mark the 'bprm' parameter of LSM hook security_bprm_committing_creds()
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