Skip to content

Commit

Permalink
security/keys/Kconfig: add KEYS_COMPAT option for keyctl tool
Browse files Browse the repository at this point in the history
The Keyctl tool of Raspbian OS doesn't work because Linux kernel of the rpi3
branch doesn't have compat_key functions.

To solve this problem, KEYS_COMPAT option is added to security/keys/Kconfig
file.

Signed-off-by: Seunghun Han <[email protected]>
  • Loading branch information
kkamagui committed Apr 11, 2018
1 parent 7d976fc commit 177734f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions security/keys/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ config KEYS

If you are unsure as to whether this is required, answer N.

config KEYS_COMPAT
def_bool y
depends on COMPAT && KEYS

config PERSISTENT_KEYRINGS
bool "Enable register of persistent per-UID keyrings"
depends on KEYS
Expand Down

0 comments on commit 177734f

Please sign in to comment.