Thread (28 messages) 28 messages, 3 authors, 2024-07-10

Re: [PATCH 3/6] LSM: Add helper for blob allocations

From: Paul Moore <paul@paul-moore.com>
Date: 2024-07-10 00:01:13

On Tue, Jul 9, 2024 at 7:09 PM Casey Schaufler [off-list ref] wrote:
On 7/9/2024 3:08 PM, Paul Moore wrote:
quoted
On Jul  8, 2024 Casey Schaufler [off-list ref] wrote:
quoted
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>
---
 security/security.c | 97 +++++++++++++++------------------------------
 1 file changed, 33 insertions(+), 64 deletions(-)
Looks good to me, but as it is dependent on 2/6 I'm unable to apply
it anywhere right now.
I can reorder 2/6 and 3/6 if that would help.
No ordering is fine, it was simply a matter of I didn't merge 2/6 so I
couldn't merge 3/6.

-- 
paul-moore.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help