Khadija Kamran a721f7b8c3 lsm: constify 'bprm' parameter in security_bprm_committed_creds()
Three LSMs register the implementations for the 'bprm_committed_creds()'
hook: AppArmor, SELinux and tomoyo. Looking at the function
implementations we may observe that the 'bprm' parameter is not changing.

Mark the 'bprm' parameter of LSM hook security_bprm_committed_creds() as
'const' since it will not be changing in the LSM hook.

Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
[PM: minor merge fuzzing due to other constification patches]
Signed-off-by: Paul Moore <paul@paul-moore.com>
2023-09-14 15:27:29 -04:00
..
2020-12-06 13:44:57 +09:00
2023-08-05 19:55:10 +09:00
2020-12-06 13:44:57 +09:00
2023-01-13 23:11:38 +09:00
2023-01-09 21:46:50 +09:00
2020-11-27 19:36:11 +09:00
2019-01-24 14:50:27 -08:00
2021-06-16 00:01:28 +09:00