Re: [RFC] get_compat_msghdr(): get rid of field-by-field copyin

2017-07-13 Thread David Miller
From: Al Viro Date: Fri, 14 Jul 2017 02:37:50 +0100 > On Tue, Jul 11, 2017 at 08:25:14PM -0700, David Miller wrote: > >> looks harmless, or if there is a bug in there I can't see it. >> >> But whatever it is, that same problem could be hiding in some of these >> other transformations as well. >

Re: [RFC] get_compat_msghdr(): get rid of field-by-field copyin

2017-07-13 Thread Al Viro
On Tue, Jul 11, 2017 at 08:25:14PM -0700, David Miller wrote: > looks harmless, or if there is a bug in there I can't see it. > > But whatever it is, that same problem could be hiding in some of these > other transformations as well. > > I think the bug might be that we are corrupting the user's

Re: [RFC] get_compat_msghdr(): get rid of field-by-field copyin

2017-07-11 Thread David Miller
From: Al Viro Date: Sat, 8 Jul 2017 19:21:00 +0100 > There are 3 commits in vfs.git#misc.compat I hadn't pushed to Linus yet; > they touch net/* and I'd like to see at least "no objections" from networking > folks before asking to pull that; all of those are about getting rid of > field-by-field

[RFC] get_compat_msghdr(): get rid of field-by-field copyin

2017-07-08 Thread Al Viro
There are 3 commits in vfs.git#misc.compat I hadn't pushed to Linus yet; they touch net/* and I'd like to see at least "no objections" from networking folks before asking to pull that; all of those are about getting rid of field-by-field copyin. Please, review and comment. Signed-off-by: Al Viro