summaryrefslogtreecommitdiffstats
path: root/ipc/Makefile
diff options
context:
space:
mode:
authorDaniel Borkmann2015-03-01 12:31:43 +0100
committerDavid S. Miller2015-03-01 20:05:19 +0100
commitf1a66f85b74c5ef7b503f746ea97742dacd56419 (patch)
tree74e50377321d7afae02ebf494ee523cb878d285a /ipc/Makefile
parentebpf: constify various function pointer structs (diff)
downloadkernel-qcow2-linux-f1a66f85b74c5ef7b503f746ea97742dacd56419.tar.gz
kernel-qcow2-linux-f1a66f85b74c5ef7b503f746ea97742dacd56419.tar.xz
kernel-qcow2-linux-f1a66f85b74c5ef7b503f746ea97742dacd56419.zip
ebpf: export BPF_PSEUDO_MAP_FD to uapi
We need to export BPF_PSEUDO_MAP_FD to user space, as it's used in the ELF BPF loader where instructions are being loaded that need map fixups. An initial stage loads all maps into the kernel, and later on replaces related instructions in the eBPF blob with BPF_PSEUDO_MAP_FD as source register and the actual fd as immediate value. The kernel verifier recognizes this keyword and replaces the map fd with a real pointer internally. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/Makefile')
0 files changed, 0 insertions, 0 deletions