vmlinux.lds.h: Move LSM_TABLE into INIT_DATA
authorKees Cook <keescook@chromium.org>
Thu, 11 Oct 2018 00:18:22 +0000 (17:18 -0700)
committerJames Morris <james.morris@microsoft.com>
Thu, 11 Oct 2018 03:40:21 +0000 (20:40 -0700)
commit3ac946d12e344a48c1192ef8910c6095a0d6a8ac
treeefe65c55194cabb775e92ecb30a3f043a89b332e
parent5b89c1bd4c7e5c5ca8c5374fde35ecee6e16496c
vmlinux.lds.h: Move LSM_TABLE into INIT_DATA

Since the struct lsm_info table is not an initcall, we can just move it
into INIT_DATA like all the other tables.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Reviewed-by: James Morris <james.morris@microsoft.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
arch/arc/kernel/vmlinux.lds.S
arch/arm/kernel/vmlinux-xip.lds.S
arch/arm64/kernel/vmlinux.lds.S
arch/h8300/kernel/vmlinux.lds.S
arch/microblaze/kernel/vmlinux.lds.S
arch/powerpc/kernel/vmlinux.lds.S
arch/um/include/asm/common.lds.S
arch/xtensa/kernel/vmlinux.lds.S
include/asm-generic/vmlinux.lds.h