aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2017-06-05 12:15:48 -0700
committerDavid S. Miller <[email protected]>2017-06-06 15:41:23 -0400
commit34ad5580f8f9c86cb273ebea25c149613cd1667e (patch)
tree47618c705d66fc9f0b977716cd7c1389e1552bdc /lib/mpi/mpi-internal.h
parentf3f1c054c288bb6e503005e6d73611151ed20e91 (diff)
bpf: Add BPF_(PROG|MAP)_GET_NEXT_ID command
This patch adds BPF_PROG_GET_NEXT_ID and BPF_MAP_GET_NEXT_ID to allow userspace to iterate all bpf_prog IDs and bpf_map IDs. The API is trying to be consistent with the existing BPF_MAP_GET_NEXT_KEY. It is currently limited to CAP_SYS_ADMIN which we can consider to lift it in followup patches. Signed-off-by: Martin KaFai Lau <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions