diff options
author | Jiri Olsa <jolsa@kernel.org> | 2018-04-25 20:41:06 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-04-26 23:36:11 +0300 |
commit | b85fab0e67b162014cd328cb4e2a8e8ae382cb8a (patch) | |
tree | 2a743c24543f955aab3c03370e779646c74fd95f /tools/include/uapi | |
parent | af487c5777709d4b7f874fe1a33f9289d51b9adc (diff) | |
download | linux-b85fab0e67b162014cd328cb4e2a8e8ae382cb8a.tar.xz |
bpf: Add gpl_compatible flag to struct bpf_prog_info
Adding gpl_compatible flag to struct bpf_prog_info
so it can be dumped via bpf_prog_get_info_by_fd and
displayed via bpftool progs dump.
Alexei noticed 4-byte hole in struct bpf_prog_info,
so we put the u32 flags field in there, and we can
keep adding bit fields in there without breaking
user space.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/include/uapi')
0 files changed, 0 insertions, 0 deletions