Messages in this thread | | | From | "Michael Kerrisk (man-pages)" <> | Date | Wed, 25 Apr 2012 09:41:16 +1200 | 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@gmail.com> wrote: > On Tue, Apr 24, 2012 at 4:27 PM, Kees Cook <keescook@chromium.org> wrote: >> On Tue, Apr 24, 2012 at 1:08 PM, Cyrill Gorcunov <gorcunov@openvz.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@gmail.com> >>> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> >> >> Acked-by: Kees Cook <keescook@chromium.org> > > Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
-- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/
| |