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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Oct 2017 22:29:39 +0000 (23:29 +0100)
commit067cae47771c864604969fd902efe10916e0d79c
tree8c21ddd861fddf1e6006d7b0b7086e8f09ac3da3
parent473d97343f94ff20f5196078314e4dd83156d3a2
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.

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
tools/include/uapi/linux/bpf.h