Re: [PATCH 0/3] bpf: switch to new usercopy helpers

2019-10-15 Thread Christian Brauner
On Tue Oct 15, 2019 at 4:02 PM Alexei Starovoitov wrote: > On Tue, Oct 15, 2019 at 3:55 PM Christian Brauner > wrote: > > > > On Tue, Oct 15, 2019 at 03:45:54PM -0700, Alexei Starovoitov wrote: > > > On Thu, Oct 10, 2019 at 2:26 AM Christian Brauner > > > wrote: > > > > > > > > On Wed, Oct 09, 20

Re: [PATCH 0/3] bpf: switch to new usercopy helpers

2019-10-15 Thread Alexei Starovoitov
On Tue, Oct 15, 2019 at 3:55 PM Christian Brauner wrote: > > On Tue, Oct 15, 2019 at 03:45:54PM -0700, Alexei Starovoitov wrote: > > On Thu, Oct 10, 2019 at 2:26 AM Christian Brauner > > wrote: > > > > > > On Wed, Oct 09, 2019 at 04:06:18PM -0700, Alexei Starovoitov wrote: > > > > On Wed, Oct 9,

Re: [PATCH 0/3] bpf: switch to new usercopy helpers

2019-10-15 Thread Christian Brauner
On Tue, Oct 15, 2019 at 03:45:54PM -0700, Alexei Starovoitov wrote: > On Thu, Oct 10, 2019 at 2:26 AM Christian Brauner > wrote: > > > > On Wed, Oct 09, 2019 at 04:06:18PM -0700, Alexei Starovoitov wrote: > > > On Wed, Oct 9, 2019 at 9:09 AM Christian Brauner > > > wrote: > > > > > > > > Hey ever

Re: [PATCH 0/3] bpf: switch to new usercopy helpers

2019-10-15 Thread Alexei Starovoitov
On Thu, Oct 10, 2019 at 2:26 AM Christian Brauner wrote: > > On Wed, Oct 09, 2019 at 04:06:18PM -0700, Alexei Starovoitov wrote: > > On Wed, Oct 9, 2019 at 9:09 AM Christian Brauner > > wrote: > > > > > > Hey everyone, > > > > > > In v5.4-rc2 we added two new helpers check_zeroed_user() and > > >

Re: [PATCH 0/3] bpf: switch to new usercopy helpers

2019-10-10 Thread Christian Brauner
On Wed, Oct 09, 2019 at 04:06:18PM -0700, Alexei Starovoitov wrote: > On Wed, Oct 9, 2019 at 9:09 AM Christian Brauner > wrote: > > > > Hey everyone, > > > > In v5.4-rc2 we added two new helpers check_zeroed_user() and > > copy_struct_from_user() including selftests (cf. [1]). It is a generic > >

Re: [PATCH 0/3] bpf: switch to new usercopy helpers

2019-10-09 Thread Alexei Starovoitov
On Wed, Oct 9, 2019 at 9:09 AM Christian Brauner wrote: > > Hey everyone, > > In v5.4-rc2 we added two new helpers check_zeroed_user() and > copy_struct_from_user() including selftests (cf. [1]). It is a generic > interface designed to copy a struct from userspace. The helpers will be > especially