From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752532AbdBJLMW (ORCPT ); Fri, 10 Feb 2017 06:12:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60312 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752201AbdBJLMU (ORCPT ); Fri, 10 Feb 2017 06:12:20 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1486674698-67190-1-git-send-email-bilal.amarni@gmail.com> References: <1486674698-67190-1-git-send-email-bilal.amarni@gmail.com> To: Bilal Amarni Cc: dhowells@redhat.com, arnd@arndb.de, james.l.morris@oracle.com, serge@hallyn.com, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH] security/keys: add CONFIG_KEYS_COMPAT to Kconfig MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29041.1486724674.1@warthog.procyon.org.uk> Date: Fri, 10 Feb 2017 11:04:34 +0000 Message-ID: <29042.1486724674@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 10 Feb 2017 11:04:37 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > Signed-off-by: Bilal Amarni Applied.