[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250925171208.5997-1-casey@schaufler-ca.com>
Date: Thu, 25 Sep 2025 10:12:06 -0700
From: Casey Schaufler <casey@...aufler-ca.com>
To: casey@...aufler-ca.com,
paul@...l-moore.com,
eparis@...hat.com,
linux-security-module@...r.kernel.org
Cc: jmorris@...ei.org,
serge@...lyn.com,
keescook@...omium.org,
john.johansen@...onical.com,
penguin-kernel@...ove.sakura.ne.jp,
stephen.smalley.work@...il.com,
linux-kernel@...r.kernel.org,
selinux@...r.kernel.org
Subject: [PATCH v2 0/2] LSM: Multiple LSM mount options
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
Powered by blists - more mailing lists