vmlinux.lds.h: Avoid copy/paste of security_init section
authorKees Cook <keescook@chromium.org>
Thu, 11 Oct 2018 00:18:18 +0000 (17:18 -0700)
committerJames Morris <james.morris@microsoft.com>
Thu, 11 Oct 2018 03:40:21 +0000 (20:40 -0700)
commit1e80cd1672bc77c96fa72205ba6db78dc10825b4
tree7ed2259bdb191cb4770f6581876572ee8bd28525
parent98d291708cbaab06efec195d0810a7ef60f7603a
vmlinux.lds.h: Avoid copy/paste of security_init section

Avoid copy/paste by defining SECURITY_INIT in terms of SECURITY_INITCALL.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: James Morris <james.morris@microsoft.com>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
include/asm-generic/vmlinux.lds.h