[PATCH 0/2] lsm: change security_capget LSM hook

Khadija Kamran kamrankhadijadj at gmail.com
Mon Jul 31 07:07:30 UTC 2023


Change security_capget LSM hook's target parameter to constant and split
cap_capget decalration line to multiple lines.

Khadija Kamran (2):
  lsm: change 'target' parameter to 'const' in security_capget LSM hook
  lsm: split cap_capget() declaration to multiple lines

 include/linux/lsm_hook_defs.h | 2 +-
 include/linux/security.h      | 7 ++++---
 kernel/capability.c           | 2 +-
 security/apparmor/lsm.c       | 2 +-
 security/commoncap.c          | 2 +-
 security/security.c           | 2 +-
 security/selinux/hooks.c      | 2 +-
 7 files changed, 10 insertions(+), 9 deletions(-)

-- 
2.34.1



More information about the Linux-security-module-archive mailing list