[PATCH v2 1/2] security: convert security hooks to use hlist
jmorris at namei.org
Wed Mar 28 23:58:05 UTC 2018
On Wed, 28 Mar 2018, Sargun Dhillon wrote:
> On Wed, Mar 28, 2018 at 9:47 AM, Casey Schaufler <casey at schaufler-ca.com>
> > On 3/27/2018 6:30 PM, 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>
> > James,
> If you're okay with it, I'll go ahead and break this out into its own patch
> with Tetsuo's changes, and you can pick it up.
<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