Re: c/r: broken locking when executing map_files

From: Pavel Emelyanov
Date: Wed May 02 2012 - 13:34:21 EST


On 05/02/2012 09:23 PM, Sasha Levin wrote:
> Hi all,
>
> I've stumbled on several lockdep warnings when playing with the new files created under /proc/[pid], specifically 'map_files'.
>
> My theory is that files under map_files shouldn't be executable,

These are symlinks and x bit on them doesn't mean anything, but anyway, thanks for catching this.

> but since I'm not sure what the usermode code for
> c/r does exactly, I should probably confirm that first. If it's indeed the case, you can probably skip
> the rest of this mail.
>
> First, if I try to simply execute one of the mappings:
--
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/