Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 11 May 2018 09:09:04 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Alexey Gladkov <gladkov.alexey@...il.com>,
 Kees Cook <keescook@...omium.org>, Andy Lutomirski <luto@...nel.org>,
 Andrew Morton <akpm@...ux-foundation.org>, linux-fsdevel@...r.kernel.org,
 linux-kernel@...r.kernel.org, kernel-hardening@...ts.openwall.com,
 linux-security-module@...r.kernel.org, linux-api@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
 Alexander Viro <viro@...iv.linux.org.uk>,
 Akinobu Mita <akinobu.mita@...il.com>, Oleg Nesterov <oleg@...hat.com>,
 Jeff Layton <jlayton@...chiereds.net>, Ingo Molnar <mingo@...nel.org>,
 Alexey Dobriyan <adobriyan@...il.com>,
 "Eric W. Biederman" <ebiederm@...ssion.com>,
 Linus Torvalds <torvalds@...ux-foundation.org>,
 aniel Micay <danielmicay@...il.com>, Jonathan Corbet <corbet@....net>,
 bfields@...ldses.org, Stephen Rothwell <sfr@...b.auug.org.au>,
 solar@...nwall.com, "Dmitry V. Levin" <ldv@...linux.org>,
 Djalal Harouni <tixxdz@...il.com>
Subject: Re: [PATCH v5 5/7] proc: instantiate only pids that we can ptrace on
 'limit_pids=1' mount option

On 05/11/2018 02:36 AM, Alexey Gladkov wrote:
> From: Djalal Harouni <tixxdz@...il.com>
> 
> 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 <keescook@...omium.org>
> Cc: Andy Lutomirski <luto@...nel.org>
> Signed-off-by: Djalal Harouni <tixxdz@...il.com>
> ---
>  fs/proc/base.c | 9 +++++++++
>  1 file changed, 9 insertions(+)


-- 
~Randy

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.