diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2017-03-22 19:46:19 +0900 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-03-24 14:24:41 +1100 |
commit | 3dfc9b02864b19f4dab376f14479ee4ad1de6c9e (patch) | |
tree | 8a386143e6ce7a3c8a48b0b25dd7e506de04c6a1 /fs/fs-writeback.c | |
parent | ca97d939db114c8d1619e10a3b82af8615372dae (diff) | |
download | linux-3dfc9b02864b19f4dab376f14479ee4ad1de6c9e.tar.bz2 |
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 <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: John Johansen <john.johansen@canonical.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Paul Moore <paul@paul-moore.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Casey Schaufler <casey@schaufler-ca.com>
Cc: James Morris <james.l.morris@oracle.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions