summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/include/asm/pgtable.h
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2017-03-22 11:46:19 +0100
committerJames Morris <james.l.morris@oracle.com>2017-03-24 04:24:41 +0100
commit3dfc9b02864b19f4dab376f14479ee4ad1de6c9e (patch)
tree8a386143e6ce7a3c8a48b0b25dd7e506de04c6a1 /arch/openrisc/include/asm/pgtable.h
parentsecurity: mark LSM hooks as __ro_after_init (diff)
downloadlinux-3dfc9b02864b19f4dab376f14479ee4ad1de6c9e.tar.xz
linux-3dfc9b02864b19f4dab376f14479ee4ad1de6c9e.zip
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 'arch/openrisc/include/asm/pgtable.h')
0 files changed, 0 insertions, 0 deletions