From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [patch 2/2] fs, proc: Introduce the /proc//map_files/ directory v12 Date: Tue, 13 Sep 2011 23:52:22 -0700 Message-ID: <20110913235222.043927b3.akpm@linux-foundation.org> References: <20110913211359.674453213@openvz.org> <20110913212447.918816776@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, containers@lists.osdl.org, linux-fsdevel@vger.kernel.org, Kirill Shutemov , Pavel Emelyanov , James Bottomley , Nathan Lynch , Zan Lynx , Daniel Lezcano , Vasiliy Kulikov , Tejun Heo , Alexey Dobriyan , Al Viro , Andrew Morton To: Cyrill Gorcunov Return-path: Received: from mail-gx0-f170.google.com ([209.85.161.170]:38815 "EHLO mail-gx0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753172Ab1INGwJ (ORCPT ); Wed, 14 Sep 2011 02:52:09 -0400 In-Reply-To: <20110913212447.918816776@openvz.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, 14 Sep 2011 01:14:01 +0400 Cyrill Gorcunov wrote: > This one behaves similarly to the /proc//fd/ one - it contains symlinks > one for each mapping with file, the name of a symlink is "vma->vm_start-vma->vm_end", > the target is the file. Opening a symlink results in a file that point exactly > to the same inode as them vma's one. We should fully work through Pavel Machek's comments, please. For some reason I'm a bit paranoid about security lately :(