linux_dsm_epyc7002/kernel/bpf
Daniel Borkmann aa79781b65 bpf: abstract anon_inode_getfd invocations
Since we're going to use anon_inode_getfd() invocations in more than just
the current places, make a helper function for both, so that we only need
to pass a map/prog pointer to the helper itself in order to get a fd. The
new helpers are called bpf_map_new_fd() and bpf_prog_new_fd().

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-02 22:48:39 -05:00
..
arraymap.c bpf: fix bpf_perf_event_read() helper 2015-10-26 21:49:26 -07:00
core.c bpf: split state from prandom_u32() and consolidate {c, e}BPF prngs 2015-10-08 05:26:39 -07:00
hashtab.c bpf: convert hashtab lock to raw lock 2015-11-02 15:45:43 -05:00
helpers.c bpf: split state from prandom_u32() and consolidate {c, e}BPF prngs 2015-10-08 05:26:39 -07:00
Makefile ebpf: remove kernel test stubs 2015-03-01 14:05:18 -05:00
syscall.c bpf: abstract anon_inode_getfd invocations 2015-11-02 22:48:39 -05:00
verifier.c bpf: introduce bpf_perf_event_output() helper 2015-10-22 06:42:15 -07:00