Thread (1 message) 1 message, 1 author, 2018-03-28
DORMANTno replies

[PATCH v2 1/2] security: convert security hooks to use hlist

From: jmorris@namei.org (James Morris)
Date: 2018-03-28 23:58:05

On Wed, 28 Mar 2018, Sargun Dhillon wrote:
On Wed, Mar 28, 2018 at 9:47 AM, Casey Schaufler [off-list ref]
wrote:
quoted
On 3/27/2018 6:30 PM, Sargun Dhillon wrote:
quoted
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 <redacted>
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.
Sounds good.

-- 
James Morris
[off-list ref]

--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help