diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-08 15:41:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-08 15:41:25 -0400 |
commit | b793c005ceabf6db0b17494b0ec67ade6796bb34 (patch) | |
tree | 080c884f04254403ec9564742f591a9fd9b7e95a /Makefile | |
parent | 6f0a2fc1feb19bd142961a39dc118e7e55418b3f (diff) | |
parent | 07f081fb5057b2ea98baeca3a47bf0eb33e94aa1 (diff) |
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull security subsystem updates from James Morris:
"Highlights:
- PKCS#7 support added to support signed kexec, also utilized for
module signing. See comments in 3f1e1bea.
** NOTE: this requires linking against the OpenSSL library, which
must be installed, e.g. the openssl-devel on Fedora **
- Smack
- add IPv6 host labeling; ignore labels on kernel threads
- support smack labeling mounts which use binary mount data
- SELinux:
- add ioctl whitelisting (see
http://kernsec.org/files/lss2015/vanderstoep.pdf)
- fix mprotect PROT_EXEC regression caused by mm change
- Seccomp:
- add ptrace options for suspend/resume"
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (57 commits)
PKCS#7: Add OIDs for sha224, sha284 and sha512 hash algos and use them
Documentation/Changes: Now need OpenSSL devel packages for module signing
scripts: add extract-cert and sign-file to .gitignore
modsign: Handle signing key in source tree
modsign: Use if_changed rule for extracting cert from module signing key
Move certificate handling to its own directory
sign-file: Fix warning about BIO_reset() return value
PKCS#7: Add MODULE_LICENSE() to test module
Smack - Fix build error with bringup unconfigured
sign-file: Document dependency on OpenSSL devel libraries
PKCS#7: Appropriately restrict authenticated attributes and content type
KEYS: Add a name for PKEY_ID_PKCS7
PKCS#7: Improve and export the X.509 ASN.1 time object decoder
modsign: Use extract-cert to process CONFIG_SYSTEM_TRUSTED_KEYS
extract-cert: Cope with multiple X.509 certificates in a single file
sign-file: Generate CMS message as signature instead of PKCS#7
PKCS#7: Support CMS messages also [RFC5652]
X.509: Change recorded SKID & AKID to not include Subject or Issuer
PKCS#7: Check content type and versions
MAINTAINERS: The keyrings mailing list has moved
...
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -875,10 +875,9 @@ INITRD_COMPRESS-$(CONFIG_RD_LZ4) := lz4 | |||
875 | # export INITRD_COMPRESS := $(INITRD_COMPRESS-y) | 875 | # export INITRD_COMPRESS := $(INITRD_COMPRESS-y) |
876 | 876 | ||
877 | ifdef CONFIG_MODULE_SIG_ALL | 877 | ifdef CONFIG_MODULE_SIG_ALL |
878 | MODSECKEY = ./signing_key.priv | 878 | $(eval $(call config_filename,MODULE_SIG_KEY)) |
879 | MODPUBKEY = ./signing_key.x509 | 879 | |
880 | export MODPUBKEY | 880 | mod_sign_cmd = scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(MODULE_SIG_KEY_SRCPREFIX)$(CONFIG_MODULE_SIG_KEY) certs/signing_key.x509 |
881 | mod_sign_cmd = perl $(srctree)/scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY) | ||
882 | else | 881 | else |
883 | mod_sign_cmd = true | 882 | mod_sign_cmd = true |
884 | endif | 883 | endif |
@@ -886,7 +885,7 @@ export mod_sign_cmd | |||
886 | 885 | ||
887 | 886 | ||
888 | ifeq ($(KBUILD_EXTMOD),) | 887 | ifeq ($(KBUILD_EXTMOD),) |
889 | core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ | 888 | core-y += kernel/ certs/ mm/ fs/ ipc/ security/ crypto/ block/ |
890 | 889 | ||
891 | vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ | 890 | vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ |
892 | $(core-y) $(core-m) $(drivers-y) $(drivers-m) \ | 891 | $(core-y) $(core-m) $(drivers-y) $(drivers-m) \ |
@@ -1178,8 +1177,8 @@ MRPROPER_DIRS += include/config usr/include include/generated \ | |||
1178 | arch/*/include/generated .tmp_objdiff | 1177 | arch/*/include/generated .tmp_objdiff |
1179 | MRPROPER_FILES += .config .config.old .version .old_version \ | 1178 | MRPROPER_FILES += .config .config.old .version .old_version \ |
1180 | Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \ | 1179 | Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \ |
1181 | signing_key.priv signing_key.x509 x509.genkey \ | 1180 | signing_key.pem signing_key.priv signing_key.x509 \ |
1182 | extra_certificates signing_key.x509.keyid \ | 1181 | x509.genkey extra_certificates signing_key.x509.keyid \ |
1183 | signing_key.x509.signer vmlinux-gdb.py | 1182 | signing_key.x509.signer vmlinux-gdb.py |
1184 | 1183 | ||
1185 | # clean - Delete most, but leave enough to build external modules | 1184 | # clean - Delete most, but leave enough to build external modules |