Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp279011ybl; Thu, 9 Jan 2020 21:47:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxHWccxgL8dtrj08VVOsU3mTehA6N8AemiV0TT5iNpB8L/AMmNTOeL8JI+1S24h1oNXIcFk X-Received: by 2002:aca:c551:: with SMTP id v78mr951481oif.161.1578635242576; Thu, 09 Jan 2020 21:47:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578635242; cv=none; d=google.com; s=arc-20160816; b=YlYsedADTc8hCvQ9yKcPbU6nQcLphx+AG24RnZhQvWDYSSz504YV6NKNbjvG4VG9za 6wRhjwdLHCu2wY3BFbtDa6GsU7sUwdojVxTqBuqvNPPedP3ZF2j2plYjYfgl9VTBkpNK CTjlaHL5Ab5LyaaCCYZjOq3LX7/q49WmAMk4uWtyJJ5HzXZ5btYGdZ1ydBoPU+rGsUEJ Umh+bve6tsYTXPMpJAH4sKzg26lDus7/6jOJdptex17IwqhQaxd4lqZHUyBqMmWZ5z/Z fy7g/qAir2inL+iCW5pF1JOW+ILecHzR+3ASirEcY08WezDPs8f8AfB41EAm2wYyxlqW 5qQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=brZIVtRJbFhsKrW2XGIamPOstYqRxmmgtJR8QuWKQxc=; b=lCiJFKeHE+mDkDHizPsxmXBfCoqPUj2HnF51Lm9XjWvRI1G6Cc1NZd9Ja4B4CUzP/3 6SDxORCtvstaCFUbgJO6Zjjt/vHOgNVMPvqe7SDeJbKsVPB5P+RkqjU+sguKn9fUrVB7 E+OaFX0jgx8/ZWuNOKpsRNwdrYZzu6gkMwcbVHu3z4tuRXqAWQN7a8pOq7+JhlbzZuFh U7YPEhAFE5CulTd6EngnGhcE2OfVADvPr2v/4aIs2J9eZtx13uUiZIIMMqET4yPX1aq9 MSLe3T1wyHIt7q8gZh8bxLyjKiluzEmBi5oYwKfb0BcAgjYBFKc3J4ILSqqOm4AgSE5B 97FQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h22si601819otk.18.2020.01.09.21.47.08; Thu, 09 Jan 2020 21:47:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726718AbgAJFqC (ORCPT + 99 others); Fri, 10 Jan 2020 00:46:02 -0500 Received: from isilmar-4.linta.de ([136.243.71.142]:48512 "EHLO isilmar-4.linta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726384AbgAJFqC (ORCPT ); Fri, 10 Jan 2020 00:46:02 -0500 X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES Received: from light.dominikbrodowski.net (brodo.linta [10.1.0.102]) by isilmar-4.linta.de (Postfix) with ESMTPSA id A6B3C2009B2; Fri, 10 Jan 2020 05:46:00 +0000 (UTC) Received: by light.dominikbrodowski.net (Postfix, from userid 1000) id F25982036B; Fri, 10 Jan 2020 06:45:51 +0100 (CET) Date: Fri, 10 Jan 2020 06:45:51 +0100 From: Dominik Brodowski To: Wang ShaoBo Cc: mark.rutland@arm.com, hch@infradead.org, cj.chengjian@huawei.com, huawei.libin@huawei.com, xiexiuqi@huawei.com, yangyingliang@huawei.com, guohanjun@huawei.com, wcohen@redhat.com, linux-kernel@vger.kernel.org, mtk.manpages@gmail.com, wezhang@redhat.com Subject: Re: [PATCH v2] sys_personality: Add a optional arch hook arch_check_personality() for common sys_personality() Message-ID: <20200110054551.GA352443@light.dominikbrodowski.net> References: <20200109133634.176483-1-bobo.shaobowang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200109133634.176483-1-bobo.shaobowang@huawei.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 09, 2020 at 09:36:34PM +0800, Wang ShaoBo wrote: > currently arm64 use __arm64_sys_arm64_personality() as its default > syscall. But using a normal hook arch_check_personality() can reject > personality settings for special case of different archs. > > Signed-off-by: Wang ShaoBo Reviewed-by: Dominik Brodowski Thanks, Dominik