aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/security.c
diff options
context:
space:
mode:
authorCasey Schaufler <[email protected]>2024-10-23 21:21:57 +0000
committerPaul Moore <[email protected]>2024-12-04 19:58:51 +0000
commitb530104f50e86db6f187d39fed5821b3cca755ee (patch)
tree559c63877063b4e8594a6ebb939631ac118702e4 /rust/helpers/security.c
parentlsm: use lsm_context in security_inode_getsecctx (diff)
downloadkernel-b530104f50e86db6f187d39fed5821b3cca755ee.tar.gz
kernel-b530104f50e86db6f187d39fed5821b3cca755ee.zip
lsm: lsm_context in security_dentry_init_security
Replace the (secctx,seclen) pointer pair with a single lsm_context pointer to allow return of the LSM identifier along with the context and context length. This allows security_release_secctx() to know how to release the context. Callers have been modified to use or save the returned data from the new structure. Cc: [email protected] Cc: [email protected] Signed-off-by: Casey Schaufler <[email protected]> [PM: subject tweak] Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions