Skip to content

Commit

Permalink
kernel: enable kernel keyring by default on !SMALL_FLASH
Browse files Browse the repository at this point in the history
Enable CONFIG_KEYS by default on systems which are not marked as
flash-space constraint by the 'small_flash' feature.
CONFIG_KEYS is required by Docker, enabling it in our kernel allows
users to run Docker on stock OpenWrt.
It is also used of by some network file systems (such as NFSv4) to
store credentials as well as UID/GID mappings.

Adds about 50kB to vmlinux on ath79/generic (~18kB compressed)

Signed-off-by: Daniel Golle <[email protected]>
  • Loading branch information
dangowrt committed Dec 14, 2020
1 parent c74ae89 commit 23049f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/Config-kernel.in
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ endif

config KERNEL_KEYS
bool "Enable kernel access key retention support"
default n
default !SMALL_FLASH

config KERNEL_PERSISTENT_KEYRINGS
bool "Enable kernel persistent keyrings"
Expand Down

0 comments on commit 23049f9

Please sign in to comment.