History

bpf: Add cmd alias BPF_PROG_RUN

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.

Alexei Starovoitov committed 5 years ago

Commit 5d67f341 parent 3d431673 files · +3 −1Browse files

Showing the changes to tools/include/uapi (1 of 3 files). Show all

Unified · Split

tools/include/uapi/linux/bpf.h+1−0
@@ -837,6 +837,7 @@ enum bpf_cmd { · 836 unmodified lines
837837 BPF_PROG_ATTACH,
838838 BPF_PROG_DETACH,
839839 BPF_PROG_TEST_RUN,
840+ BPF_PROG_RUN = BPF_PROG_TEST_RUN,
840841 BPF_PROG_GET_NEXT_ID,
841842 BPF_MAP_GET_NEXT_ID,
842843 BPF_PROG_GET_FD_BY_ID,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t