On 09/29/2017 07:52 PM, Martin KaFai Lau wrote:
This patch uses u64_to_user_ptr() to cast info.map_ids to a userspace ptr.
It also tags the user_map_ids with '__user' for sparse check.

Fixes: cb4d2b3f03d8 ("bpf: Add name, load_time, uid and map_ids to 
bpf_prog_info")
Signed-off-by: Martin KaFai Lau <ka...@fb.com>

Acked-by: Daniel Borkmann <dan...@iogearbox.net>

Reply via email to