From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f199.google.com (mail-wr0-f199.google.com [209.85.128.199]) by kanga.kvack.org (Postfix) with ESMTP id 8BD686B0005 for ; Mon, 29 Jan 2018 08:57:49 -0500 (EST) Received: by mail-wr0-f199.google.com with SMTP id 17so5716522wrm.10 for ; Mon, 29 Jan 2018 05:57:49 -0800 (PST) Received: from mx2.suse.de (mx2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id p106si974106wrb.277.2018.01.29.05.57.48 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 29 Jan 2018 05:57:48 -0800 (PST) Date: Mon, 29 Jan 2018 14:57:47 +0100 From: Michal Hocko Subject: Re: migrate_pages() of process with same UID in 4.15-rcX Message-ID: <20180129135747.GG21609@dhcp22.suse.cz> References: <1394749328.5225281.1515598510696.JavaMail.zimbra@redhat.com> <87d12hbs6s.fsf@xmission.com> <20180129133151.GF21609@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180129133151.GF21609@dhcp22.suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: "Eric W. Biederman" Cc: Jan Stancek , otto ebeling , mtk manpages , linux-mm@kvack.org, w@1wt.eu, keescook@chromium.org, ltp@lists.linux.it, Linus Torvalds , Cristopher Lameter [Fixup Christoph email - the thread starts here http://lkml.kernel.org/r/1394749328.5225281.1515598510696.JavaMail.zimbra@redhat.com] On Mon 29-01-18 14:31:51, Michal Hocko wrote: > [Sorry for a very late reply] > > On Wed 10-01-18 10:21:31, Eric W. Biederman wrote: > [...] > > All of that said. I am wondering if we should have used > > PTRACE_MODE_READ_FSCREDS on these permission checks. > > If this is really about preventing the layout discovery then we should > be in sync with proc_mem_open and that uses PTRACE_MODE_FSCREDS|PTRACE_MODE_READ > Should we do the same thing here? > -- > Michal Hocko > SUSE Labs -- Michal Hocko SUSE Labs -- 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