[GIT PULL] security: general updates for 4.20
From: James Morris
Date: Tue Oct 23 2018 - 05:22:40 EST
Hi Linus,
Please pull these general updates for the security subsystem.
In this patchset, there are a couple of minor updates, as well as some
reworking of the LSM initialization code from Kees Cook (these prepare the
way for ordered stackable LSMs, but are a valuable cleanup on their own).
---
The following changes since commit 57361846b52bc686112da6ca5368d11210796804:
Linux 4.19-rc2 (2018-09-02 14:37:30 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general
for you to fetch changes up to 3f6caaf5ff33073ca1a3a0b82edacab3c57c38f9:
LSM: Don't ignore initialization failures (2018-10-10 20:40:22 -0700)
----------------------------------------------------------------
Christian Brauner (1):
security/capabilities: remove check for -EINVAL
David Howells (1):
keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h
Ding Xiang (1):
security: tomoyo: Fix obsolete function
Igor Stoppa (1):
seccomp: remove unnecessary unlikely()
James Morris (1):
Merge tag 'v4.19-rc2' into next-general
Kees Cook (10):
LSM: Correctly announce start of LSM initialization
vmlinux.lds.h: Avoid copy/paste of security_init section
LSM: Rename .security_initcall section to .lsm_info
LSM: Remove initcall tracing
LSM: Convert from initcall to struct lsm_info
vmlinux.lds.h: Move LSM_TABLE into INIT_DATA
LSM: Convert security_initcall() into DEFINE_LSM()
LSM: Record LSM name in struct lsm_info
LSM: Provide init debugging infrastructure
LSM: Don't ignore initialization failures
Randy Dunlap (1):
security: fix LSM description location
Documentation/admin-guide/kernel-parameters.txt | 2 ++
Documentation/security/LSM.rst | 2 +-
arch/arc/kernel/vmlinux.lds.S | 1 -
arch/arm/kernel/vmlinux-xip.lds.S | 1 -
arch/arm64/kernel/vmlinux.lds.S | 1 -
arch/h8300/kernel/vmlinux.lds.S | 1 -
arch/microblaze/kernel/vmlinux.lds.S | 2 --
arch/powerpc/kernel/vmlinux.lds.S | 2 --
arch/um/include/asm/common.lds.S | 2 --
arch/xtensa/kernel/vmlinux.lds.S | 1 -
include/asm-generic/vmlinux.lds.h | 25 +++++++-------
include/linux/init.h | 2 --
include/linux/lsm_hooks.h | 12 +++++++
include/linux/module.h | 1 -
include/uapi/linux/keyctl.h | 7 +++-
kernel/seccomp.c | 4 +--
security/apparmor/lsm.c | 5 ++-
security/commoncap.c | 3 --
security/integrity/iint.c | 6 +++-
security/security.c | 43 ++++++++++++++++---------
security/selinux/hooks.c | 5 ++-
security/smack/smack_lsm.c | 5 ++-
security/tomoyo/common.c | 3 +-
security/tomoyo/tomoyo.c | 5 ++-
24 files changed, 84 insertions(+), 57 deletions(-)