Add BPF_PROG_RUN command as an alias to BPF_RPOG_TEST_RUN to better indicate the full range of use cases done by the command.
Showing the changes to tools/include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -837,6 +837,7 @@ enum bpf_cmd { · 836 unmodified lines | ||
| 837 | 837 | BPF_PROG_ATTACH, |
| 838 | 838 | BPF_PROG_DETACH, |
| 839 | 839 | BPF_PROG_TEST_RUN, |
| 840 | + BPF_PROG_RUN = BPF_PROG_TEST_RUN, | |
| 840 | 841 | BPF_PROG_GET_NEXT_ID, |
| 841 | 842 | BPF_MAP_GET_NEXT_ID, |
| 842 | 843 | BPF_PROG_GET_FD_BY_ID, |