[PATCH] fs: disallow empty path in default getname_kernel

2018-06-26 Thread Michael Pratt
ry. So add getname_kernel_flags like getname_flags for use by do_handle_open, while all other users disallow empty paths. Signed-off-by: Michael Pratt Cc: Alexander Viro Cc: Aneesh Kumar K.V Cc: Kees Cook Cc: David Drysdale Cc: Jeff Dike Cc: Richard Weinberger Cc: Greg Kroah-Hartman Cc: Mateusz Jurczyk

[PATCH] fs: disallow empty path in default getname_kernel

2018-06-26 Thread Michael Pratt
ry. So add getname_kernel_flags like getname_flags for use by do_handle_open, while all other users disallow empty paths. Signed-off-by: Michael Pratt Cc: Alexander Viro Cc: Aneesh Kumar K.V Cc: Kees Cook Cc: David Drysdale Cc: Jeff Dike Cc: Richard Weinberger Cc: Greg Kroah-Hartman Cc: Mateusz Jurczyk

Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR

2017-02-20 Thread Michael Pratt
Sigh... apologies for the HTML. Trying again... On Mon, Feb 20, 2017 at 9:21 PM, Michael Pratt <li...@pratt.im> wrote: > On Fri, Feb 17, 2017 at 3:02 PM, Andy Lutomirski <l...@amacapital.net> wrote: >> On Fri, Feb 17, 2017 at 1:01 PM, Linus Torvalds >> <torva.

Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR

2017-02-20 Thread Michael Pratt
Sigh... apologies for the HTML. Trying again... On Mon, Feb 20, 2017 at 9:21 PM, Michael Pratt wrote: > On Fri, Feb 17, 2017 at 3:02 PM, Andy Lutomirski wrote: >> On Fri, Feb 17, 2017 at 1:01 PM, Linus Torvalds >> wrote: >>> On Fri, Feb 17, 2017 at 12:12 PM, And