[PATCH v3 5/5] LSM: secctx provider check on release
Paul Moore
paul at paul-moore.com
Thu Oct 31 22:53:41 UTC 2024
On Oct 23, 2024 Casey Schaufler <casey at schaufler-ca.com> wrote:
>
> Verify that the LSM releasing the secctx is the LSM that
> allocated it. This was not necessary when only one LSM could
> create a secctx, but once there can be more than one it is.
>
> Signed-off-by: Casey Schaufler <casey at schaufler-ca.com>
> ---
> security/apparmor/secid.c | 13 +++++--------
> security/selinux/hooks.c | 13 +++++--------
> 2 files changed, 10 insertions(+), 16 deletions(-)
See my note on patch 1/5, merging into lsm/dev.
--
paul-moore.com
More information about the Linux-security-module-archive
mailing list