Re: [RFC][PATCHSET] mremap/mmap mess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 09, 2009 at 01:21:42PM +0100, Peter Zijlstra wrote:

> /me ponders.. doesn't the binfmt engine cruft need the args in place in
> order to execute?

Needs to modify them in case #! and a few other.  But that's generally
a matter of "drop argv[0], push several arguments in its place"

> That is, IIRC the problem is that you need to have the argc/env in place
> for the binfmt engine thing, and need to have ran the binfmt engine
> thing before you know the personality.
> 
> As to your idea, if that were feasible we could do without the copy and
> simply steal the pages directly from the old mm.

*raised brows*
Old mm may bloody well be still shared, so I'd be vary of trying that -
there's a lot of nasty surprises we could get on that way.
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux