diff options
author | Roman Gushchin <guro@fb.com> | 2017-12-13 15:18:51 +0000 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2017-12-14 13:37:13 +0100 |
commit | 583c90097f7271ab90f149b52b9ac2098bf2cbb5 (patch) | |
tree | e373de139565faec82b867167abd5c7aed7e4eac /mm | |
parent | f4e2298e63d24bb7f5cf0f56f72867973cb7e652 (diff) | |
download | linux-583c90097f7271ab90f149b52b9ac2098bf2cbb5.tar.bz2 |
libbpf: add ability to guess program type based on section name
The bpf_prog_load() function will guess program type if it's not
specified explicitly. This functionality will be used to implement
loading of different programs without asking a user to specify
the program type. In first order it will be used by bpftool.
Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: Quentin Monnet <quentin.monnet@netronome.com>
Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions