Skip to content

Commit

Permalink
init/Kconfig: move the trusted keyring config option to general setup
Browse files Browse the repository at this point in the history
The SYSTEM_TRUSTED_KEYRING config option is not in any menu, causing it
to show up in the toplevel of the kernel configuration.  Fix this by
moving it under the General Setup menu.

Signed-off-by: Peter Foley <[email protected]>
Cc: David Howells <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
pefoley2 authored and torvalds committed Apr 18, 2014
1 parent 83da751 commit 82c04ff
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1646,6 +1646,18 @@ config MMAP_ALLOW_UNINITIALIZED

See Documentation/nommu-mmap.txt for more information.

config SYSTEM_TRUSTED_KEYRING
bool "Provide system-wide ring of trusted keys"
depends on KEYS
help
Provide a system keyring to which trusted keys can be added. Keys in
the keyring are considered to be trusted. Keys may be added at will
by the kernel from compiled-in data and from hardware key stores, but
userspace may only add extra keys if those keys can be verified by
keys already in the keyring.

Keys in this keyring are used by module signature checking.

config PROFILING
bool "Profiling support"
help
Expand Down Expand Up @@ -1681,18 +1693,6 @@ config BASE_SMALL
default 0 if BASE_FULL
default 1 if !BASE_FULL

config SYSTEM_TRUSTED_KEYRING
bool "Provide system-wide ring of trusted keys"
depends on KEYS
help
Provide a system keyring to which trusted keys can be added. Keys in
the keyring are considered to be trusted. Keys may be added at will
by the kernel from compiled-in data and from hardware key stores, but
userspace may only add extra keys if those keys can be verified by
keys already in the keyring.

Keys in this keyring are used by module signature checking.

menuconfig MODULES
bool "Enable loadable module support"
option modules
Expand Down

0 comments on commit 82c04ff

Please sign in to comment.