Re: [RFC][PATCHES] uaccess-related stuff in net/*

2020-05-20 Thread David Miller
From: Al Viro Date: Thu, 21 May 2020 01:36:57 +0100 > On Mon, May 11, 2020 at 05:02:51PM -0700, David Miller wrote: >> From: Al Viro >> Date: Mon, 11 May 2020 05:43:28 +0100 >> >> >Assorted uaccess-related work in net/*. First, there's >> > getting rid of compat_alloc_user_space() mess in

Re: [RFC][PATCHES] uaccess-related stuff in net/*

2020-05-20 Thread Al Viro
On Mon, May 11, 2020 at 05:02:51PM -0700, David Miller wrote: > From: Al Viro > Date: Mon, 11 May 2020 05:43:28 +0100 > > > Assorted uaccess-related work in net/*. First, there's > > getting rid of compat_alloc_user_space() mess in MCAST_... > > [gs]etsockopt() - no need to play with copying

Re: [RFC][PATCHES] uaccess-related stuff in net/*

2020-05-11 Thread David Miller
From: Al Viro Date: Mon, 11 May 2020 05:43:28 +0100 > Assorted uaccess-related work in net/*. First, there's > getting rid of compat_alloc_user_space() mess in MCAST_... > [gs]etsockopt() - no need to play with copying to/from temporary > object on userland stack, etc., when ->compat_[sg]e

[RFC][PATCHES] uaccess-related stuff in net/*

2020-05-10 Thread Al Viro
Assorted uaccess-related work in net/*. First, there's getting rid of compat_alloc_user_space() mess in MCAST_... [gs]etsockopt() - no need to play with copying to/from temporary object on userland stack, etc., when ->compat_[sg]etsockopt() instances in question can easly do everything wit