lkml.org 
[lkml]   [2011]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rfc 3/3] prctl: Add PR_SET_MM codes to tune up mm_struct entires
On Tue, Nov 29, 2011 at 02:49:11PM -0600, Serge Hallyn wrote:
>
> My memory is a bit hazy here, but cryo
> (http://git.sr71.net/?p=cryo-forhallyn.git;a=summary) did also do
> this from userspace. As I recall the one problem we had was ...
> that we couldn't lower the mm_start of the first segment? I think.
> But I bring it up only because the advantage of doing it this way
> was that all of the ptrace protections automatically applied.
>

Thanks for the link Serge, I'll take a look. I think for start_code
we might stick for exactly Elf path -- ie it should be vma with
at least "r-xp" prototipe as mapped by elf path (and restrictions
from Kees's mail should be applied on it as well). Other members
are not that clear for me.


\
 
 \ /
  Last update: 2011-11-29 21:59    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog