diff options
author | Mauricio Vasquez B <mauricio.vasquez@polito.it> | 2018-10-18 15:16:30 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-10-19 13:24:31 -0700 |
commit | bd513cd08f10cbe28856f99ae951e86e86803861 (patch) | |
tree | 4af4c4453badd34c259ad0c8f3140216c22519e2 /tools/include | |
parent | f1a2e44a3aeccb3ff18d3ccc0b0203e70b95bd92 (diff) | |
download | linux-next-bd513cd08f10cbe28856f99ae951e86e86803861.tar.gz |
bpf: add MAP_LOOKUP_AND_DELETE_ELEM syscall
The previous patch implemented a bpf queue/stack maps that
provided the peek/pop/push functions. There is not a direct
relationship between those functions and the current maps
syscalls, hence a new MAP_LOOKUP_AND_DELETE_ELEM syscall is added,
this is mapped to the pop operation in the queue/stack maps
and it is still to implement in other kind of maps.
Signed-off-by: Mauricio Vasquez B <mauricio.vasquez@polito.it>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions