Messages in this thread | | | Subject | Re: personality(ADDR_LIMIT_3GB) results in EFAULT | From | Andi Kleen <> | Date | Thu, 27 May 2010 20:38:19 +0200 |
| |
Michael Tokarev <mjt@tls.msk.ru> writes:
> I noticed an.. interesting issue here. > > Running a 32bit executable on a 64bit kernel, > and doing > > personality(ADDR_LIMIT_3GB); > > That call succedes, but any further execve() > and friends results in EFAULT, unless whole > argv[] and envp[] are copied to a malloc'ed > space. alloca sometimes helps and sometimes > not.
It worked when I wrote it originally.
Sounds like a regression, perhaps related to b6a2fea39318e43fee84fa7b0b90d68bed92d2ba
-Andi -- ak@linux.intel.com -- Speaking for myself only.
| |