diff options
author | Tetsuo Handa <[email protected]> | 2017-03-22 19:46:19 +0900 |
---|---|---|
committer | James Morris <[email protected]> | 2017-03-24 14:24:41 +1100 |
commit | 3dfc9b02864b19f4dab376f14479ee4ad1de6c9e (patch) | |
tree | 8a386143e6ce7a3c8a48b0b25dd7e506de04c6a1 /net/unix/af_unix.c | |
parent | ca97d939db114c8d1619e10a3b82af8615372dae (diff) |
LSM: Initialize security_hook_heads upon registration.
"struct security_hook_heads" is an array of "struct list_head"
where elements can be initialized just before registration.
There is no need to waste 350+ lines for initialization. Let's
initialize "struct security_hook_heads" just before registration.
Signed-off-by: Tetsuo Handa <[email protected]>
Acked-by: Kees Cook <[email protected]>
Cc: John Johansen <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Paul Moore <[email protected]>
Cc: Stephen Smalley <[email protected]>
Cc: Casey Schaufler <[email protected]>
Cc: James Morris <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions