Re: [PATCH 1/9] exec_path 1/9: introduce ->exec_path and switch/proc/*/exe

From: Linus Torvalds
Date: Wed Jun 03 2009 - 19:36:33 EST




On Thu, 4 Jun 2009, Alexey Dobriyan wrote:
>
> [PATCH 1/9] exec_path 1/9: introduce ->exec_path and switch /proc/*/exe

Ok, looks reasonable to me, and seems to remove more code than it adds,
and makes even that smaller remaining code more readable.

That said, I suspect there are user-space loaders etc that set
VM_EXECUTABLE by hand when mmap'ing the main executable. Will this get
things right? Or do we even allow that?

Can you also add more commentary about the fundamental reasons you want to
do this, rather than talking just about the implementation issues.

Linus
--
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/