aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/syscall.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2019-11-14 10:57:13 -0800
committerDaniel Borkmann <[email protected]>2019-11-15 23:44:06 +0100
commit9fd4a39dc7fe734d26eb89ea97e8c91331c6378c (patch)
tree5783728bdca357b04e48d656d84eb07b1624a4a8 /kernel/bpf/syscall.c
parente76d776e9ca1fe266b3a7f8091eee5d1e635a545 (diff)
bpf: Reserve space for BPF trampoline in BPF programs
BPF trampoline can be made to work with existing 5 bytes of BPF program prologue, but let's add 5 bytes of NOPs to the beginning of every JITed BPF program to make BPF trampoline job easier. They can be removed in the future. Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions