Skip to content

Commit 8066faa

Browse files
sargunarter97
authored andcommitted
security: convert security hooks to use hlist
This changes security_hook_heads to use hlist_heads instead of the circular doubly-linked list heads. This should cut down the size of the struct by about half. In addition, it allows mutation of the hooks at the tail of the callback list without having to modify the head. The longer-term purpose of this is to enable making the heads read only. Signed-off-by: Sargun Dhillon <[email protected]> Reviewed-by: Tetsuo Handa <[email protected]> Acked-by: Casey Schaufler <[email protected]> Signed-off-by: James Morris <[email protected]> Signed-off-by: Park Ju Hyung <[email protected]>
1 parent 4ae8261 commit 8066faa

File tree

3 files changed

+228
-228
lines changed

3 files changed

+228
-228
lines changed

0 commit comments

Comments
 (0)