From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751149AbdEaW5W (ORCPT ); Wed, 31 May 2017 18:57:22 -0400 Received: from namei.org ([65.99.196.166]:53155 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbdEaW5U (ORCPT ); Wed, 31 May 2017 18:57:20 -0400 Date: Thu, 1 Jun 2017 08:56:18 +1000 (AEST) From: James Morris To: Igor Stoppa cc: Tetsuo Handa , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Casey Schaufler , Christoph Hellwig , James Morris , Kees Cook , Paul Moore , Stephen Smalley Subject: Re: [PATCH v2] LSM: Convert security_hook_heads into explicit array of struct list_head In-Reply-To: <27e537cc-1d1c-1a48-d3fd-a04921f7b620@huawei.com> Message-ID: References: <1495883858-3336-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> <1496003387-3184-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> <27e537cc-1d1c-1a48-d3fd-a04921f7b620@huawei.com> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 31 May 2017, Igor Stoppa wrote: > On 30/05/17 13:32, James Morris wrote: > > > This seems like pointless churn in security-critical code in anticipation > > of features which are still in development and may not be adopted. > > > > Is there a compelling reason to merge this now? (And I don't mean worrying > > about non-existent compliers). > > I propose to take this patch as part of those I will be submitting. > It took me some unplanned time to add support for hardened user copy, > but now it's done - at least to a point that I can test it without failures. > > So I'm back on track to provide an example of the smalloc api and I can > also use Tetsuo's work (thanks again, btw). > This patch would be sandwiched between the smalloc ones and the LSM rework. > > It can get merged when the rest (hopefully) is merged. > > But I have a more prosaic question: since smalloc is affecting the > memory subsystem, can it still be merged through the security tree? It needs acks from the maintainers of the affected subsystems. -- James Morris