aboutsummaryrefslogtreecommitdiff
path: root/security/selinux/include/objsec.h
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2024-07-10 14:32:27 -0700
committerPaul Moore <paul@paul-moore.com>2024-07-29 16:54:51 -0400
commit09001284eebfc1b684e81d1db0f006787d35f3e1 (patch)
tree6cd87b50ab6b7e30ba6e3299a264055bbdb89ff3 /security/selinux/include/objsec.h
parent5f8d28f6d7d568dbbc8c5bce94894474c07afd4f (diff)
lsm: add helper for blob allocations
Create a helper function lsm_blob_alloc() for general use in the hook specific functions that allocate LSM blobs. Change the hook specific functions to use this helper. This reduces the code size by a small amount and will make adding new instances of infrastructure managed security blobs easier. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> Reviewed-by: John Johansen <john.johansen@canonical.com> [PM: subject tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/include/objsec.h')
0 files changed, 0 insertions, 0 deletions