[PATCH v2 0/2] LSM: Multiple LSM mount options

Casey Schaufler posted 2 patches 6 days, 5 hours ago
include/linux/lsm_hooks.h         |  1 +
security/security.c               | 44 ++++++++++++++++++
security/selinux/hooks.c          | 76 ++++++++++---------------------
security/selinux/include/objsec.h |  8 ++++
security/smack/smack.h            |  8 ++++
security/smack/smack_lsm.c        | 45 +++++-------------
6 files changed, 97 insertions(+), 85 deletions(-)
[PATCH v2 0/2] LSM: Multiple LSM mount options
Posted by Casey Schaufler 6 days, 5 hours ago
Linux Security Module (LSM) that support mount options, currently SELinux
and Smack, allocate their own data for those options. This patch set
moves the handling of mount option data out of the individual LSMs and
into the LSM infrastructure. This allows for multiple LSMs to support
mount options at the same time.

https://github.com/cschaufler/lsm-stacking#mount-opts-6.17-rc6-v2

v2: Significant rewrite to move allocations out of the LSMs.

Casey Schaufler (2):
  LSM: Add mount opts blob size tracking
  LSM: Infrastructure management of the mnt_opts security blob

 include/linux/lsm_hooks.h         |  1 +
 security/security.c               | 44 ++++++++++++++++++
 security/selinux/hooks.c          | 76 ++++++++++---------------------
 security/selinux/include/objsec.h |  8 ++++
 security/smack/smack.h            |  8 ++++
 security/smack/smack_lsm.c        | 45 +++++-------------
 6 files changed, 97 insertions(+), 85 deletions(-)

-- 
2.51.0