[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200630114129.GA420871@google.com>
Date: Tue, 30 Jun 2020 13:41:29 +0200
From: KP Singh <kpsingh@...omium.org>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: davem@...emloft.net, daniel@...earbox.net, paulmck@...nel.org,
netdev@...r.kernel.org, bpf@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH v5 bpf-next 3/5] bpf: Add bpf_copy_from_user() helper.
On 29-Jun 21:33, Alexei Starovoitov wrote:
> From: Alexei Starovoitov <ast@...nel.org>
>
> Sleepable BPF programs can now use copy_from_user() to access user memory.
>
> Signed-off-by: Alexei Starovoitov <ast@...nel.org>
> Acked-by: Andrii Nakryiko <andriin@...com>
Really looking forward!
Acked-by: KP Singh <kpsingh@...gle.com>
> ---
> include/linux/bpf.h | 1 +
> include/uapi/linux/bpf.h | 11 ++++++++++-
> kernel/bpf/helpers.c | 22 ++++++++++++++++++++++
> kernel/trace/bpf_trace.c | 2 ++
> tools/include/uapi/linux/bpf.h | 11 ++++++++++-
> 5 files changed, 45 insertions(+), 2 deletions(-)
>
[...]
> + /* */
>
> /* integer value in 'imm' field of BPF_CALL instruction selects which helper
> * function eBPF program intends to call
> --
> 2.23.0
>
Powered by blists - more mailing lists