lkml.org 
[lkml]   [2010]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 2/2] execve: check the VM has enough memory at first
    Date
    > On Wed, Sep 8, 2010 at 10:04 PM, KOSAKI Motohiro
    > <kosaki.motohiro@jp.fujitsu.com> wrote:
    > >
    > > After this patch, execve() expand stack at first and receive to
    > > check vm_enough_memory() properly. then, too long argument of
    > > execve() than the machine memory return EFAULT properly.
    >
    > This is horrible. We don't want to walk the arguments one more time
    > just for this. Let's just improve the checks that we do as we go
    > along.
    >
    > Linus

    Okey. I'll consider new way in this night.





    \
     
     \ /
      Last update: 2010-09-14 03:55    [W:0.020 / U:29.772 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site