diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2024-07-10 14:32:27 -0700 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2024-07-29 16:54:51 -0400 |
commit | 09001284eebfc1b684e81d1db0f006787d35f3e1 (patch) | |
tree | 6cd87b50ab6b7e30ba6e3299a264055bbdb89ff3 /security/selinux/include/objsec.h | |
parent | 5f8d28f6d7d568dbbc8c5bce94894474c07afd4f (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