summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/netlink.c
diff options
context:
space:
mode:
authorKhadija Kamran <kamrankhadijadj@gmail.com>2023-08-23 08:44:41 +0200
committerPaul Moore <paul@paul-moore.com>2023-09-13 23:57:01 +0200
commit25cc71d1527b55c880d333e7cc1dc37aeef9843f (patch)
tree3e59f618d4b8363bb20dea07c9c496f927197582 /net/batman-adv/netlink.c
parentLinux 6.6-rc1 (diff)
downloadlinux-25cc71d1527b55c880d333e7cc1dc37aeef9843f.tar.xz
linux-25cc71d1527b55c880d333e7cc1dc37aeef9843f.zip
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 'net/batman-adv/netlink.c')
0 files changed, 0 insertions, 0 deletions