From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753172AbdLHUNk (ORCPT ); Fri, 8 Dec 2017 15:13:40 -0500 Received: from mail-ua0-f175.google.com ([209.85.217.175]:37508 "EHLO mail-ua0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752136AbdLHUNe (ORCPT ); Fri, 8 Dec 2017 15:13:34 -0500 X-Google-Smtp-Source: AGs4zMbWgdZFdYiwJ3ooiFFj1m4lEpSMzcMVnw/Srqu6Ti37UdrOoIXrSPgeI50qcScy3W/KCjwbMY92NjWxMxI01OA= MIME-Version: 1.0 In-Reply-To: <20171208083315.GR20234@dhcp22.suse.cz> References: <20171129144219.22867-1-mhocko@kernel.org> <20171130065835.dbw4ajh5q5whikhf@dhcp22.suse.cz> <20171201152640.GA3765@rei> <87wp20e9wf.fsf@concordia.ellerman.id.au> <20171206045433.GQ26021@bombadil.infradead.org> <20171206070355.GA32044@bombadil.infradead.org> <87bmjbks4c.fsf@concordia.ellerman.id.au> <20171207195727.GA26792@bombadil.infradead.org> <20171208083315.GR20234@dhcp22.suse.cz> From: Kees Cook Date: Fri, 8 Dec 2017 12:13:31 -0800 X-Google-Sender-Auth: nLxcU9ZS_EXaTXKsfetwAKy8Xc8 Message-ID: Subject: Re: [PATCH 0/2] mm: introduce MAP_FIXED_SAFE To: Michal Hocko Cc: Matthew Wilcox , Michael Ellerman , Cyril Hrubis , Linux API , Khalid Aziz , Andrew Morton , Russell King - ARM Linux , Andrea Arcangeli , Linux-MM , LKML , linux-arch , Florian Weimer , John Hubbard , Abdul Haleem , Joel Stanley , Pavel Machek Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 8, 2017 at 12:33 AM, Michal Hocko wrote: > OK, this doesn't seem to lead to anywhere. The more this is discussed > the more names we are getting. So you know what? I will resubmit and > keep my original name. If somebody really hates it then feel free to > nack the patch and push alternative and gain concensus on it. > > I will keep MAP_FIXED_SAFE because it is an alternative to MAP_FIXED so > having that in the name is _useful_ for everybody familiar with > MAP_FIXED already. And _SAFE suffix tells that the operation doesn't > cause any silent memory corruptions or other unexpected side effects. Looks like consensus is MAP_FIXED_NOREPLACE. -Kees -- Kees Cook Pixel Security From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kees Cook Subject: Re: [PATCH 0/2] mm: introduce MAP_FIXED_SAFE Date: Fri, 8 Dec 2017 12:13:31 -0800 Message-ID: References: <20171129144219.22867-1-mhocko@kernel.org> <20171130065835.dbw4ajh5q5whikhf@dhcp22.suse.cz> <20171201152640.GA3765@rei> <87wp20e9wf.fsf@concordia.ellerman.id.au> <20171206045433.GQ26021@bombadil.infradead.org> <20171206070355.GA32044@bombadil.infradead.org> <87bmjbks4c.fsf@concordia.ellerman.id.au> <20171207195727.GA26792@bombadil.infradead.org> <20171208083315.GR20234@dhcp22.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20171208083315.GR20234-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Michal Hocko Cc: Matthew Wilcox , Michael Ellerman , Cyril Hrubis , Linux API , Khalid Aziz , Andrew Morton , Russell King - ARM Linux , Andrea Arcangeli , Linux-MM , LKML , linux-arch , Florian Weimer , John Hubbard , Abdul Haleem , Joel Stanley , Pavel Machek List-Id: linux-api@vger.kernel.org On Fri, Dec 8, 2017 at 12:33 AM, Michal Hocko wrote: > OK, this doesn't seem to lead to anywhere. The more this is discussed > the more names we are getting. So you know what? I will resubmit and > keep my original name. If somebody really hates it then feel free to > nack the patch and push alternative and gain concensus on it. > > I will keep MAP_FIXED_SAFE because it is an alternative to MAP_FIXED so > having that in the name is _useful_ for everybody familiar with > MAP_FIXED already. And _SAFE suffix tells that the operation doesn't > cause any silent memory corruptions or other unexpected side effects. Looks like consensus is MAP_FIXED_NOREPLACE. -Kees -- Kees Cook Pixel Security From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f69.google.com (mail-vk0-f69.google.com [209.85.213.69]) by kanga.kvack.org (Postfix) with ESMTP id D5DBB6B0038 for ; Fri, 8 Dec 2017 15:13:34 -0500 (EST) Received: by mail-vk0-f69.google.com with SMTP id z85so6210475vkd.22 for ; Fri, 08 Dec 2017 12:13:34 -0800 (PST) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id v27sor3206135uae.75.2017.12.08.12.13.33 for (Google Transport Security); Fri, 08 Dec 2017 12:13:33 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20171208083315.GR20234@dhcp22.suse.cz> References: <20171129144219.22867-1-mhocko@kernel.org> <20171130065835.dbw4ajh5q5whikhf@dhcp22.suse.cz> <20171201152640.GA3765@rei> <87wp20e9wf.fsf@concordia.ellerman.id.au> <20171206045433.GQ26021@bombadil.infradead.org> <20171206070355.GA32044@bombadil.infradead.org> <87bmjbks4c.fsf@concordia.ellerman.id.au> <20171207195727.GA26792@bombadil.infradead.org> <20171208083315.GR20234@dhcp22.suse.cz> From: Kees Cook Date: Fri, 8 Dec 2017 12:13:31 -0800 Message-ID: Subject: Re: [PATCH 0/2] mm: introduce MAP_FIXED_SAFE Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Matthew Wilcox , Michael Ellerman , Cyril Hrubis , Linux API , Khalid Aziz , Andrew Morton , Russell King - ARM Linux , Andrea Arcangeli , Linux-MM , LKML , linux-arch , Florian Weimer , John Hubbard , Abdul Haleem , Joel Stanley , Pavel Machek On Fri, Dec 8, 2017 at 12:33 AM, Michal Hocko wrote: > OK, this doesn't seem to lead to anywhere. The more this is discussed > the more names we are getting. So you know what? I will resubmit and > keep my original name. If somebody really hates it then feel free to > nack the patch and push alternative and gain concensus on it. > > I will keep MAP_FIXED_SAFE because it is an alternative to MAP_FIXED so > having that in the name is _useful_ for everybody familiar with > MAP_FIXED already. And _SAFE suffix tells that the operation doesn't > cause any silent memory corruptions or other unexpected side effects. Looks like consensus is MAP_FIXED_NOREPLACE. -Kees -- Kees Cook Pixel Security -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org