linaro-swg / linux

Linux kernel source tree
Other
41 stars 79 forks source link

security/keys/Kconfig: add KEYS_COMPAT option for keyctl tool #59

Open kkamagui opened 6 years ago

kkamagui commented 6 years ago

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 kkamagui@gmail.com

jbech-linaro commented 6 years ago

Acked-by: Joakim Bech <joakim.bech@linaro.org>

jenswi-linaro commented 6 years ago

How does this relate to upstream? Is it possible to cherry-pick a few commits to achieve the same purpose?

kkamagui commented 6 years ago

It seems that the commit https://github.com/torvalds/linux/commit/47b2c3fff4932e6fc17ce13d51a43c6969714e20 is related to my pull-request in Linux kernel source tree.

jenswi-linaro commented 6 years ago

Can we use torvalds/linux@47b2c3f instead then? It makes it easier to tell what's from upstream and what's to try to upstream.

kkamagui commented 6 years ago

Oh, that's good point. I will check that and update the progress about it.

kkamagui commented 6 years ago

I cherry-picked the https://github.com/torvalds/linux/commit/47b2c3fff4932e6fc17ce13d51a43c6969714e20 commit from Linux kernel repository instead of my commit and tested it. Thank you for your advice and please check the commit (https://github.com/linaro-swg/linux/pull/59/commits/4370effa44cf814161a079a5e8a2f815c4ae8dec) in my pull-request.

jenswi-linaro commented 6 years ago

Looks good to me.