From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: [kernel-hardening] Re: [patch 2/2] fs, proc: Introduce the /proc//map_files/ directory v6 Date: Sat, 10 Sep 2011 17:49:05 +0400 Message-ID: <20110910134904.GD14420@sun> References: <20110906173341.GM18425@mtj.dyndns.org> <20110907112301.GA12157@albatros> <20110907215329.GB28162@sun> <20110907151323.613e62e7.akpm@linux-foundation.org> <20110907224234.GD28162@sun> <20110907155332.beda7d3d.akpm@linux-foundation.org> <20110908054826.GF28162@sun> <20110908055025.GG28162@sun> <20110908060405.GH28162@sun> <20110910132101.GA14535@albatros> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kernel-hardening@lists.openwall.com, Andrew Morton , Tejun Heo , "Kirill A. Shutemov" , containers@lists.osdl.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Nathan Lynch , Oren Laadan , Daniel Lezcano , Glauber Costa , James Bottomley , Alexey Dobriyan , Al Viro , Pavel Emelyanov To: Vasiliy Kulikov Return-path: Content-Disposition: inline In-Reply-To: <20110910132101.GA14535@albatros> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sat, Sep 10, 2011 at 05:21:01PM +0400, Vasiliy Kulikov wrote: ... > > + > > + if (!ptrace_may_access(task, PTRACE_MODE_READ)) > > put_task_struct(task) belongs here. > Yeah, thanks! I'll update. Cyrill