From: David Miller <davem@davemloft.net>
To: g.borello@gmail.com
Cc: daniel@iogearbox.net, ast@kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH net-next] bpf: add bpf_probe_read_str helper
Date: Fri, 20 Jan 2017 12:09:20 -0500 (EST) [thread overview]
Message-ID: <20170120.120920.594824834893909165.davem@davemloft.net> (raw)
In-Reply-To: <20170118175549.15819-1-g.borello@gmail.com>
From: Gianluca Borello <g.borello@gmail.com>
Date: Wed, 18 Jan 2017 17:55:49 +0000
> Provide a simple helper with the same semantics of strncpy_from_unsafe():
>
> int bpf_probe_read_str(void *dst, int size, const void *unsafe_addr)
>
> This gives more flexibility to a bpf program.
...
> Signed-off-by: Gianluca Borello <g.borello@gmail.com>
> Acked-by: Alexei Starovoitov <ast@kernel.org>
> Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Applied, thank you.
prev parent reply other threads:[~2017-01-20 17:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-18 17:55 [PATCH net-next] bpf: add bpf_probe_read_str helper Gianluca Borello
2017-01-20 17:09 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170120.120920.594824834893909165.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ast@kernel.org \
--cc=daniel@iogearbox.net \
--cc=g.borello@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox