[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGXu5jKEaBUrF8RH+tosVZrf-qPetTPaMLNUqq2xKGaV6YrbEw@mail.gmail.com>
Date: Tue, 24 Apr 2012 13:27:19 -0700
From: Kees Cook <keescook@...omium.org>
To: Cyrill Gorcunov <gorcunov@...nvz.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
"Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>,
KOSAKI Motohiro <kosaki.motohiro@...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 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>
-Kees
--
Kees Cook
Chrome OS Security
--
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