[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHGf_=qg4W0vL2KbkOMzCqH-kGmuaPsCJVoKpRoMO9KFfUT+0g@mail.gmail.com>
Date: Tue, 24 Apr 2012 17:38:17 -0400
From: KOSAKI Motohiro <kosaki.motohiro@...il.com>
To: Kees Cook <keescook@...omium.org>
Cc: Cyrill Gorcunov <gorcunov@...nvz.org>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
"Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>,
Pavel Emelyanov <xemul@...allels.com>,
Tejun Heo <tj@...nel.org>,
Serge Hallyn <serge.hallyn@...onical.com>,
MEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Subject: Re: [PATCH -mm] c/r: prctl: Return -EFAULT instead of -EINVAL in case
if underlied VMA is not found
On Tue, Apr 24, 2012 at 4:27 PM, Kees Cook <keescook@...omium.org> wrote:
> On Tue, Apr 24, 2012 at 1:08 PM, Cyrill Gorcunov <gorcunov@...nvz.org> wrote:
>> In case if underlied VMA is not found prctl_set_mm will return -EINVAL,
>> but Michael proposed to return -EFAULT and Kosaki seconded.
>> Make it so.
>>
>> Reported-by: "Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
>> Signed-off-by: Cyrill Gorcunov <gorcunov@...nvz.org>
>
> Acked-by: Kees Cook <keescook@...omium.org>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists