lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKgNAkhDLFLJbg4g62SXB3aVdf24+d-Z7kGLPiCQKvKXas34Mw@mail.gmail.com>
Date:	Wed, 25 Apr 2012 09:41:16 +1200
From:	"Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
To:	KOSAKI Motohiro <kosaki.motohiro@...il.com>
Cc:	Kees Cook <keescook@...omium.org>,
	Cyrill Gorcunov <gorcunov@...nvz.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>,
	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 Wed, Apr 25, 2012 at 9:38 AM, KOSAKI Motohiro
<kosaki.motohiro@...il.com> wrote:
> 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>

Acked-by: Michael Kerrisk <mtk.manpages@...il.com>

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ