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

From: Linus Torvalds
Date: Thu Jun 04 2009 - 11:07:49 EST




On Thu, 4 Jun 2009, Matt Helsley wrote:
>
> Doesn't this pin the vfs mount of the executable for the lifetime of
> the task?

Well, yes, but so does the current code.

Sure, in _theory_ it can be a non-mmap executable (maybe people still have
those old OMAGIC a.out executables), and in _theory_ you could unmap the
executable even if it was originally mmap'ed, but neither of those is
exactly common, are they?

So in practice, nothing has changed wrt lifetime of the executable.

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/