diff options
| author | Casey Schaufler <[email protected]> | 2024-07-10 21:32:27 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2024-07-29 20:54:51 +0000 |
| commit | 09001284eebfc1b684e81d1db0f006787d35f3e1 (patch) | |
| tree | 6cd87b50ab6b7e30ba6e3299a264055bbdb89ff3 /security/selinux/hooks.c | |
| parent | lsm: infrastructure management of the key security blob (diff) | |
| download | kernel-09001284eebfc1b684e81d1db0f006787d35f3e1.tar.gz kernel-09001284eebfc1b684e81d1db0f006787d35f3e1.zip | |
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 <[email protected]>
Reviewed-by: John Johansen <[email protected]>
[PM: subject tweak]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
