Re: [RFC] fs, proc: Introduce the /proc/<pid>/map_files/ directory v2

From: Cyrill Gorcunov
Date: Thu Aug 25 2011 - 13:34:26 EST


On Thu, Aug 25, 2011 at 07:27:34PM +0200, Tejun Heo wrote:
> Hello,
>
> On Thu, Aug 25, 2011 at 7:25 PM, Pavel Emelyanov <xemul@xxxxxxxxxxxxx> wrote:
> > Not exactly - as I said if we leave the name without 0x (3d000000 instead of 0x3d000000)
> > this makes it hard to use strtol() on these strings to convert names to addresses.
>
> But strtol() has @base.
>

That's ok. Tejun, i'll think a bit more (probably tomorrow already, since I'll
be reworking it and adding a check for permissions nit you've pointed) and will
check if there is a nice way to make the names longer ;)

Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/