]> git.baikalelectronics.ru Git - kernel.git/commit
KEYS: remove CONFIG_KEYS_COMPAT
authorEric Biggers <ebiggers@google.com>
Wed, 9 Oct 2019 23:04:43 +0000 (16:04 -0700)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 12 Dec 2019 21:41:17 +0000 (23:41 +0200)
commitd1b1c3b25b9eb65e717a64f6663176d3c9891e37
treedbb20f2a4524bc96ce1ccaa074819cadd092a1fe
parentb217c2957de3710c1a4201f7ac22f4aae4f1d2e2
KEYS: remove CONFIG_KEYS_COMPAT

KEYS_COMPAT now always takes the value of COMPAT && KEYS.  But the
security/keys/ directory is only compiled if KEYS is enabled, so in
practice KEYS_COMPAT is the same as COMPAT.  Therefore, remove the
unnecessary KEYS_COMPAT and just use COMPAT directly.

(Also remove an outdated comment from compat.c.)

Reviewed-by: James Morris <jamorris@linux.microsoft.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
security/keys/Kconfig
security/keys/Makefile
security/keys/compat.c
security/keys/internal.h