lkml.org 
[lkml]   [2010]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: personality(ADDR_LIMIT_3GB) results in EFAULT
From
Date
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.


\
 
 \ /
  Last update: 2010-05-27 20:41    [W:0.065 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site