Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1578267

Re: [PATCH] security/keys: add CONFIG_KEYS_COMPAT to Kconfig

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] security/keys: add CONFIG_KEYS_COMPAT to Kconfig
Date 2017-02-10 09:20 +0100
Message-ID <t9eAW-To-5@gated-at.bofh.it> (permalink)
References <t95nY-3tU-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Feb 9, 2017 at 10:11 PM, Bilal Amarni <bilal.amarni@gmail.com> 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.
>
> Signed-off-by: Bilal Amarni <bilal.amarni@gmail.com>

Reviewed-by: Arnd Bergmann <arnd@arndb.de>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] security/keys: add CONFIG_KEYS_COMPAT to Kconfig Bilal Amarni <bilal.amarni@gmail.com> - 2017-02-09 23:30 +0100
  Re: [PATCH] security/keys: add CONFIG_KEYS_COMPAT to Kconfig Arnd Bergmann <arnd@arndb.de> - 2017-02-10 09:20 +0100
  Re: [PATCH] security/keys: add CONFIG_KEYS_COMPAT to Kconfig David Howells <dhowells@redhat.com> - 2017-02-10 12:20 +0100

csiph-web