summaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-01-11 01:16:38 +0100
committerMichael Bestas <mkbestas@lineageos.org>2022-04-19 00:49:58 +0300
commit605cd84140b68ef47cb4e62ef95a05961a133a47 (patch)
tree15e5073d314344f92175c4b75fffc97b3db9974c /kernel/bpf/stackmap.c
parent6c7bddf7309983a499ed7e4c3e63e5350f5b7042 (diff)
bpf: export helper function flags and reject invalid ones
Export flags used by eBPF helper functions through UAPI, so they can be used by programs (instead of them redefining all flags each time or just using the hard-coded values). It also gives a better overview what flags are used where and we can further get rid of the extra macros defined in filter.c. Moreover, reject invalid flags. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions