summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2025-08-16 20:28:57 +0300
committerPaul Moore <paul@paul-moore.com>2025-08-30 17:15:29 +0300
commita59076f2669ec23a122549e1f4114e8d4255b632 (patch)
tree2e92e79f92c48a45210d1b0b7dedf28f7e50501c /security/selinux/hooks.c
parent0a561e3904a92492fee8e02a9f69276e939fd990 (diff)
downloadlinux-a59076f2669ec23a122549e1f4114e8d4255b632.tar.xz
lsm: security_lsmblob_to_secctx module selection
Add a parameter lsmid to security_lsmblob_to_secctx() to identify which of the security modules that may be active should provide the security context. If the value of lsmid is LSM_ID_UNDEF the first LSM providing a hook is used. security_secid_to_secctx() is unchanged, and will always report the first LSM providing a hook. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> [PM: subj tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions