]> git.baikalelectronics.ru Git - kernel.git/commit
Replace magic for trusting the secondary keyring with #define
authorYannik Sembritzki <yannik@sembritzki.me>
Thu, 16 Aug 2018 13:05:10 +0000 (14:05 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Aug 2018 16:57:20 +0000 (09:57 -0700)
commit773cf36978997b5eb0d5ac06a1c12da388d85fc2
tree8f193bce3aa82797c09874cb7ea8274f9dc2e79c
parented74ff19209045a53077b49864f6f9c3f9f4a789
Replace magic for trusting the secondary keyring with #define

Replace the use of a magic number that indicates that verify_*_signature()
should use the secondary keyring with a symbol.

Signed-off-by: Yannik Sembritzki <yannik@sembritzki.me>
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: keyrings@vger.kernel.org
Cc: linux-security-module@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
certs/system_keyring.c
crypto/asymmetric_keys/pkcs7_key_type.c
include/linux/verification.h