From: Michal Hocko Date: Mon, 29 Jan 2018 14:31:51 +0100 Subject: [LTP] migrate_pages() of process with same UID in 4.15-rcX In-Reply-To: <87d12hbs6s.fsf@xmission.com> References: <1394749328.5225281.1515598510696.JavaMail.zimbra@redhat.com> <87d12hbs6s.fsf@xmission.com> Message-ID: <20180129133151.GF21609@dhcp22.suse.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it [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