From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: [RFC] fs, proc: Introduce the /proc//map_files/ directory v2 Date: Thu, 25 Aug 2011 22:13:31 +0400 Message-ID: <20110825181331.GG6387@sun> References: <20110824085329.GL29452@sun> <20110824111806.GA7191@albatros> <20110825082944.GH10030@sun> <20110825173642.GA3288@albatros> <20110825173953.GE6387@sun> <20110825175438.GA3739@albatros> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Nathan Lynch , Oren Laadan , Daniel Lezcano , Tejun Heo , Andrew Morton , Pavel Emelyanov , linux-kernel@vger.kernel.org, James Bottomley , LINUXFS-ML , containers@lists.osdl.org, Zan Lynx , Andi Kleen To: Vasiliy Kulikov Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:57727 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753716Ab1HYSNg (ORCPT ); Thu, 25 Aug 2011 14:13:36 -0400 Content-Disposition: inline In-Reply-To: <20110825175438.GA3739@albatros> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Aug 25, 2011 at 09:54:38PM +0400, Vasiliy Kulikov wrote: ... > > > > > > > Don't think so, it should point that permission failed > > rather no such entry. Or this might break some tools? > > I mean the place exactly where I've put it to indicate simple_strtoul(), > get_task_mm(), or find_exact_vma() error. EPERM for ptrace_may_access() > is OK. > Ah, yeah! ENOENT is really would be correct option here, will fix in next iteration, thanks a huge for spotting it! Cyrill