Re: [PATCH] procfs task exe symlink

2008-02-19 Thread Mike Frysinger
On Feb 19, 2008 4:54 PM, Matt Helsley <[EMAIL PROTECTED]> wrote: > On Sat, 2008-02-16 at 07:12 -0500, Mike Frysinger wrote: > > On Feb 6, 2008 8:44 PM, Matt Helsley <[EMAIL PROTECTED]> wrote: > > > The kernel implements readlink of /proc/pid/exe by getting the file from > > > the > > > first execu

Re: [PATCH] procfs task exe symlink

2008-02-19 Thread Matt Helsley
On Sat, 2008-02-16 at 07:12 -0500, Mike Frysinger wrote: > On Feb 6, 2008 8:44 PM, Matt Helsley <[EMAIL PROTECTED]> wrote: > > The kernel implements readlink of /proc/pid/exe by getting the file from the > > first executable VMA. Then the path to the file is reconstructed and > > reported as > >

Re: [PATCH] procfs task exe symlink

2008-02-16 Thread Mike Frysinger
On Feb 6, 2008 8:44 PM, Matt Helsley <[EMAIL PROTECTED]> wrote: > The kernel implements readlink of /proc/pid/exe by getting the file from the > first executable VMA. Then the path to the file is reconstructed and reported > as > the result. > > Because of the VMA walk the code is slightly differe

[PATCH] procfs task exe symlink

2008-02-06 Thread Matt Helsley
The kernel implements readlink of /proc/pid/exe by getting the file from the first executable VMA. Then the path to the file is reconstructed and reported as the result. Because of the VMA walk the code is slightly different on nommu systems. This patch avoids separate /proc/pid/exe code on nommu