Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031158AbbD1WYT (ORCPT ); Tue, 28 Apr 2015 18:24:19 -0400 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:44476 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1031026AbbD1WYO (ORCPT ); Tue, 28 Apr 2015 18:24:14 -0400 Date: Tue, 28 Apr 2015 15:23:53 -0700 From: Calvin Owens To: Cyrill Gorcunov CC: "Kirill A. Shutemov" , Andrew Morton , Alexey Dobriyan , Oleg Nesterov , "Eric W. Biederman" , Al Viro , "Kirill A. Shutemov" , Peter Feiner , Grant Likely , Siddhesh Poyarekar , , , Pavel Emelyanov , Subject: Re: [RFC][PATCH v4] procfs: Always expose /proc//map_files/ and make it readable Message-ID: <20150428222353.GA1296680@mail.thefacebook.com> References: <1421194829-28696-1-git-send-email-calvinowens@fb.com> <20150114152501.GB9820@node.dhcp.inet.fi> <20150114153323.GF2253@moon> <20150114204653.GA26698@mail.thefacebook.com> <20150114211613.GH2253@moon> <20150122024554.GB23762@mail.thefacebook.com> <20150124031544.GA1992748@mail.thefacebook.com> <20150212022910.GA3247638@mail.thefacebook.com> <20150214204009.GA1763278@mail.thefacebook.com> <20150310221727.GM30296@moon> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <20150310221727.GM30296@moon> User-Agent: Mutt/1.5.20 (2009-12-10) X-Originating-IP: [192.168.52.13] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-04-29_01:2015-04-29,2015-04-28,1970-01-01 signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1148 Lines: 25 On Wednesday 03/11 at 01:17 +0300, Cyrill Gorcunov wrote: > On Sat, Feb 14, 2015 at 12:40:09PM -0800, Calvin Owens wrote: > > Currently, /proc//map_files/ is restricted to CAP_SYS_ADMIN, and > > is only exposed if CONFIG_CHECKPOINT_RESTORE is set. This interface is > > very useful for enumerating the files mapped into a process when the > > more verbose information in /proc//maps is not needed. It also > > allows access to file descriptors for files that have been deleted and > > closed but are still mmapped into a process, which can be very useful > > for introspection and debugging. > > Guys, I'm really-really sorry for not replying the email that long. > If I understand correctly all concerns were addressed, right? Ping! I thought everybody was happy after the permission check was changed to be PTRACE_MODE_ATTACH. But I'll resend one more time if you prefer. Thanks, Calvin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/