Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755390AbbLAAm3 (ORCPT ); Mon, 30 Nov 2015 19:42:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47806 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751995AbbLAAm2 (ORCPT ); Mon, 30 Nov 2015 19:42:28 -0500 Subject: Re: [PATCHv2] arm: Update all mm structures with section adjustments To: Kees Cook , Laura Abbott References: <1447892054-8095-1-git-send-email-labbott@fedoraproject.org> Cc: Russell King , Catalin Marinas , Will Deacon , "linux-arm-kernel@lists.infradead.org" , LKML , Linux-MM From: Laura Abbott Message-ID: <565CECF1.6090101@redhat.com> Date: Mon, 30 Nov 2015 16:42:25 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1217 Lines: 34 On 11/30/2015 03:40 PM, Kees Cook wrote: > On Thu, Nov 19, 2015 at 11:10 AM, Kees Cook wrote: >> On Wed, Nov 18, 2015 at 4:14 PM, Laura Abbott wrote: >>> Currently, when updating section permissions to mark areas RO >>> or NX, the only mm updated is current->mm. This is working off >>> the assumption that there are no additional mm structures at >>> the time. This may not always hold true. (Example: calling >>> modprobe early will trigger a fork/exec). Ensure all mm structres >>> get updated with the new section information. >>> >>> Signed-off-by: Laura Abbott >> >> This looks right to me. :) >> >> Reviewed-by: Kees Cook >> >> Russell, does this work for you? > > Did this end up in the patch tracker? (I just sent a patch that'll > collide with this... I'm happy to do the fix up.) > I put this in the patch tracker this morning. > -Kees > Thanks, Laura -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/