Re: [PATCH -mm] mm, pagemap: Hide swap entry for unprivileged users

2018-05-09 Thread Michal Hocko
On Tue 08-05-18 09:27:45, Huang, Ying wrote: > From: Huang Ying > > In ab676b7d6fbf ("pagemap: do not leak physical addresses to > non-privileged userspace"), the /proc/PID/pagemap is restricted to be > readable only by CAP_SYS_ADMIN to address some security issue. In > 1c90308e7a77 ("pagemap: h

Re: [PATCH -mm] mm, pagemap: Hide swap entry for unprivileged users

2018-05-08 Thread Konstantin Khlebnikov
On 08.05.2018 04:27, Huang, Ying wrote: From: Huang Ying In ab676b7d6fbf ("pagemap: do not leak physical addresses to non-privileged userspace"), the /proc/PID/pagemap is restricted to be readable only by CAP_SYS_ADMIN to address some security issue. In 1c90308e7a77 ("pagemap: hide physical ad

Re: [PATCH -mm] mm, pagemap: Hide swap entry for unprivileged users

2018-05-08 Thread Naoya Horiguchi
On Tue, May 08, 2018 at 09:27:45AM +0800, Huang, Ying wrote: > From: Huang Ying > > In ab676b7d6fbf ("pagemap: do not leak physical addresses to > non-privileged userspace"), the /proc/PID/pagemap is restricted to be > readable only by CAP_SYS_ADMIN to address some security issue. In > 1c90308e7