[PATCH v3] security: convert security hooks to use hlist

James Morris jmorris at namei.org
Sat Mar 31 02:30:20 UTC 2018


On Thu, 29 Mar 2018, 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.
> 
> 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 <sargun at sargun.me>
> Reviewed-by: Tetsuo Handa <penguin-kernel at i-love.sakura.ne.jp>
> Acked-by: Casey Schaufler <casey at schaufler-ca.com>

Thanks.

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general
and next-testing


-- 
James Morris
<jmorris at namei.org>

--
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