diff options
author | Alexei Starovoitov <ast@kernel.org> | 2021-05-13 17:36:03 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-05-19 00:33:39 +0200 |
commit | 79a7f8bdb159d9914b58740f3d31d602a6e4aca8 (patch) | |
tree | 4713544ec684ad91106265a60d4275e96a9e9064 /scripts/unifdef.c | |
parent | fa7b83bf3b156c767f3e4a25bbf3817b08f3ff8e (diff) |
bpf: Introduce bpf_sys_bpf() helper and program type.
Add placeholders for bpf_sys_bpf() helper and new program type.
Make sure to check that expected_attach_type is zero for future extensibility.
Allow tracing helper functions to be used in this program type, since they will
only execute from user context via bpf_prog_test_run.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210514003623.28033-2-alexei.starovoitov@gmail.com
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions