diff options
author | Khadija Kamran <kamrankhadijadj@gmail.com> | 2023-08-23 11:44:41 +0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-09-13 17:57:01 -0400 |
commit | 25cc71d1527b55c880d333e7cc1dc37aeef9843f (patch) | |
tree | 3e59f618d4b8363bb20dea07c9c496f927197582 /drivers/cdx/controller/cdx_controller.c | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) |
lsm: constify 'sb' parameter in security_quotactl()
SELinux registers the implementation for the "quotactl" hook. Looking at
the function implementation we observe that the parameter "sb" is not
changing.
Mark the "sb" parameter of LSM hook security_quotactl() 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 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions