diff options
| author | Khadija Kamran <[email protected]> | 2023-08-23 09:01:28 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2023-09-14 19:35:36 +0000 |
| commit | 20a2aa47097aae7016209c4dbe392b3b25e0d883 (patch) | |
| tree | 4561b3f4cccc30cc03aa1ff16217b3f03b7f6f84 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | lsm: constify 'bprm' parameter in security_bprm_committed_creds() (diff) | |
| download | kernel-20a2aa47097aae7016209c4dbe392b3b25e0d883.tar.gz kernel-20a2aa47097aae7016209c4dbe392b3b25e0d883.zip | |
lsm: constify 'sb' parameter in security_sb_kern_mount()
The "sb_kern_mount" hook has implementation registered in SELinux.
Looking at the function implementation we observe that the "sb"
parameter is not changing.
Mark the "sb" parameter of LSM hook security_sb_kern_mount() as "const"
since it will not be changing in the LSM hook.
Signed-off-by: Khadija Kamran <[email protected]>
[PM: minor merge fuzzing due to other constification patches]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
