diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2024-10-24 00:21:56 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2024-12-04 22:58:09 +0300 |
commit | 76ecf306ae5da84ef8f48c7a2608736e6866440c (patch) | |
tree | 1a16d52f50d469cfa8ebdac9e84e597afb48b065 /rust/helpers/security.c | |
parent | 2d470c778120d3cdb8d8ab250329ca85f49f12b1 (diff) | |
download | linux-76ecf306ae5da84ef8f48c7a2608736e6866440c.tar.xz |
lsm: use lsm_context in security_inode_getsecctx
Change the security_inode_getsecctx() interface to fill a lsm_context
structure instead of data and length pointers. This provides
the information about which LSM created the context so that
security_release_secctx() can use the correct hook.
Cc: linux-nfs@vger.kernel.org
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
[PM: subject tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions