Re: [PATCH 11/23] bpf: factor out a bpf_trace_copy_string helper

2020-05-21 Thread Andrii Nakryiko
On Thu, May 21, 2020 at 8:25 AM Christoph Hellwig wrote: > > Split out a helper to do the fault free access to the string pointer > to get it out of a crazy indentation level. > > Signed-off-by: Christoph Hellwig > --- LGTM. Acked-by: Andrii Nakryiko > kernel/trace/bpf_trace.c | 42 +

[PATCH 11/23] bpf: factor out a bpf_trace_copy_string helper

2020-05-21 Thread Christoph Hellwig
Split out a helper to do the fault free access to the string pointer to get it out of a crazy indentation level. Signed-off-by: Christoph Hellwig --- kernel/trace/bpf_trace.c | 42 +++- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/kernel/tra