[PATCH] security: convert security hooks to use hlist
Casey Schaufler
casey at schaufler-ca.com
Sun Mar 25 17:12:26 UTC 2018
On 3/25/2018 3:08 AM, Sargun Dhillon wrote:
> 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.
My only concern is with the possibility of making
security modules dynamically loadable and unloadable.
I know that Tetsuo is still hoping to have that, and
I have worked to make sure that we don't do anything
to preclude it. If he has no objection, I don't either.
>
> Signed-off-by: Sargun Dhillon <sargun at sargun.me>
> ---
> include/linux/lsm_hooks.h | 428 +++++++++++++++++++++++-----------------------
> security/security.c | 22 +--
> 2 files changed, 225 insertions(+), 225 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list