Thread (5 messages) flat view 5 messages, 3 authors, 2018-05-14

Re: [PATCH v5 5/7] proc: instantiate only pids that we can ptrace on 'limit_pids=1' mount option

From: Randy Dunlap <hidden>
Date: 2018-05-11 16:11:44
Also in: linux-fsdevel, linux-security-module, lkml

On 05/11/2018 02:36 AM, Alexey Gladkov wrote:
From: Djalal Harouni <redacted>

If "limit_pids=1" mount option is set then do not instantiate pids that
we can not ptrace. "limit_pids=1" means that procfs should only contain
pids that the caller can ptrace.
Where can I find documentation on these mount options (pidonly, limit_pids)?

Thanks.
Cc: Kees Cook <redacted>
Cc: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Djalal Harouni <redacted>
---
 fs/proc/base.c | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help