Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1656681
| From | Eric Biggers <ebiggers3@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: security/keys: add CONFIG_KEYS_COMPAT to Kconfig |
| Date | 2017-06-03 04:50 +0200 |
| Message-ID | <tO7ix-1dp-1@gated-at.bofh.it> (permalink) |
| References | <t95nY-3tU-13@gated-at.bofh.it> <tqrs6-2Xz-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Mar 29, 2017 at 12:20:02PM -0700, Eric Biggers wrote: > On Thu, 9 Feb 2017 22:11:38 +0100, Bilal Amarni wrote: > > CONFIG_KEYS_COMPAT is defined in arch-specific Kconfigs and is missing for > > several 64-bit architectures : arm64, mips, parisc, tile. > > > > At the moment and for those architectures, calling in 32-bit userspace the > > keyctl syscall would return an ENOSYS error. > > > > This patch moves the CONFIG_KEYS_COMPAT option to security/keys/Kconfig, to > > make sure the compatibility wrapper is registered by default for any 64-bit > > architecture as long as it is configured with CONFIG_COMPAT. > > David, where can I find the git branch this patch was applied to? I don't see > it anywhere in security-keys or linux-security. > > I recently added KEYS_COMPAT to arm64 (5c2a625937ba); that should be reverted > after this patch. > > Also, I'd like to submit a follow-on patch that removes KEYS_COMPAT and simply > uses COMPAT. > > And the parisc architecture doesn't use compat_sys_keyctl() in its compat > syscall table, so that should be fixed too (though that's not a new bug). > > - Eric This patch is in the "keys-fixes" branch now, but it doesn't remove KEYS_COMPAT from arch/arm64/Kconfig. David, can you fix it? Thanks! Eric
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: security/keys: add CONFIG_KEYS_COMPAT to Kconfig Eric Biggers <ebiggers3@gmail.com> - 2017-06-03 04:50 +0200
Re: security/keys: add CONFIG_KEYS_COMPAT to Kconfig David Howells <dhowells@redhat.com> - 2017-06-03 10:10 +0200
Re: security/keys: add CONFIG_KEYS_COMPAT to Kconfig Eric Biggers <ebiggers3@gmail.com> - 2017-06-05 05:40 +0200
csiph-web