Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 10 Sep 2010 08:06:41 -0700
From: Linus Torvalds <>
To: KOSAKI Motohiro <>
Cc: Roland McGrath <>,
        Andrew Morton <>,,,
        Solar Designer <>,
        Kees Cook <>, Al Viro <>,
        Oleg Nesterov <>, Neil Horman <>,,,
        "Brad Spengler <>, Eugene Teo" <>,
        KAMEZAWA Hiroyuki <>
Subject: Re: [PATCH 2/2] execve: check the VM has enough memory at first

On Wed, Sep 8, 2010 at 10:04 PM, KOSAKI Motohiro
<> 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


Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.