From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: [PATCH 1/2] proc.5: Document /proc/[pid]/setgroups Date: Fri, 12 Dec 2014 15:54:01 -0600 Message-ID: <87vblg1qme.fsf@x220.int.ebiederm.org> References: <52e0643bd47b1e5c65921d6e00aea1f724bb510a.1417281801.git.luto@amacapital.net> <87a935u3nj.fsf@x220.int.ebiederm.org> <87388xodlj.fsf@x220.int.ebiederm.org> <87h9x5re41.fsf_-_@x220.int.ebiederm.org> <87mw6xpzb0.fsf_-_@x220.int.ebiederm.org> <87ppbtn4mv.fsf@x220.int.ebiederm.org> <87a92xn2io.fsf@x220.int.ebiederm.org> <87r3w8liw4.fsf@x220.int.ebiederm.org> <87iohklfvj.fsf_-_@x220.int.ebiederm.org> <87fvcok11h.fsf_-_@x220.int.ebiederm.org> <971ad3f6-90fd-4e3f-916c-8988af3c826d@email.android.com> <87wq5zf83t.fsf@x220.int.ebiederm.org> <87iohh3c9c.fsf@x220.int.ebiederm.org> <8761dh3b7k.fsf_-_@x220.int.ebiederm.org> <878uicy1r9.fsf_-_@x220.int.ebiederm.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Michael Kerrisk-manpages Cc: linux-man , Kees Cook , Linux API , Linux Containers , Josh Triplett , stable , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Kenton Varda , LSM , Richard Weinberger , Casey Schaufler , Andrew Morton , Andy Lutomirski List-Id: linux-man@vger.kernel.org Signed-off-by: Eric W. Biederman --- man5/proc.5 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/man5/proc.5 b/man5/proc.5 index 96077d0dd195..d661e8cfeac9 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -1097,6 +1097,21 @@ are not available if the main thread has already terminated .\" Added in 2.6.9 .\" CONFIG_SCHEDSTATS .TP +.IR /proc/[pid]/setgroups " (since Linux 3.19-rc1)" +This file reports +.BR allow +if the setgroups system call is allowed in the current user namespace. +This file reports +.BR deny +if the setgroups system call is not allowed in the current user namespace. +This file may be written to with values of +.BR allow +and +.BR deny +before +.IR /proc/[pid]/gid_map +is written to (enabling setgroups) in a user namespace. +.TP .IR /proc/[pid]/smaps " (since Linux 2.6.14)" This file shows memory consumption for each of the process's mappings. (The -- 1.9.1