diff options
author | Daniel Borkmann <[email protected]> | 2015-03-01 12:31:43 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-03-01 14:05:19 -0500 |
commit | f1a66f85b74c5ef7b503f746ea97742dacd56419 (patch) | |
tree | 74e50377321d7afae02ebf494ee523cb878d285a /scripts/gdb/linux/cpus.py | |
parent | a2c83fff582ae133d9f5bb187404ea9ce4da1f96 (diff) |
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 <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions