BACKPORT: bpf: Use char in prog and map name
authorMartin KaFai Lau <kafai@fb.com>
Fri, 6 Oct 2017 04:52:12 +0000 (21:52 -0700)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:24:04 +0000 (20:24 +0300)
commit8141808086e7e43ca0f684b2bae134e22fd01c53
treefbaae01120e3fe8fc9cc591efe1d8e2f742b662c
parent2acfa70745b57dcc1280293ea20644eb423c66f8
BACKPORT: bpf: Use char in prog and map name

Instead of u8, use char for prog and map name.  It can avoid the
userspace tool getting compiler's signess warning.  The
bpf_prog_aux, bpf_map, bpf_attr, bpf_prog_info and
bpf_map_info are changed.

Change-Id: I599a8f1eccb0d63aa8d680b771fff1580c69cf75
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/bpf.h
include/uapi/linux/bpf.h