This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: linux-proc readlink patch
- From: Michael Snyder <msnyder at redhat dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: drow at mvista dot com, kevinb at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Thu, 10 Jan 2002 09:27:39 -0800
- Subject: Re: linux-proc readlink patch
- References: <200201101556.JAA08179@duracef.shout.net>
Michael Elizabeth Chastain wrote:
>
> Daniel Jacobowitz writes:
> > The link was 'magic' - its text was something along the lines of a
> > device and inode number, I believe. It's not worth worrying about
> > unless someone actually reports it broken, I think.
>
> I'm getting a nostalgia rush.
>
> My recollection is the same as Daniel's. /proc/$pid/exe has been a
> symlink for a long time, since 1996 or so. And it's been usable all
> that time if you just open up the file and use it.
>
> The original name was indeed "device:inode" which was unusable. I don't
> know when the transitition to a real file name took place. The last
> two stable versions of the kernel (2.2 and 2.4) have real file names
> instead of "device:inode" and I feel comfortable relying on a feature
> that is in the past two major versions.
Whew! Thank you, Mr. History Buff! ;-)