summaryrefslogtreecommitdiff
path: root/kernel/bpf/verifier.c
diff options
context:
space:
mode:
authorLeon Hwang <hffilwlqm@gmail.com>2024-01-04 22:22:23 +0800
committerAlexei Starovoitov <ast@kernel.org>2024-01-04 20:22:10 -0800
commit00bc8988807985e32f5103f1ac099baf593bd8a3 (patch)
treed649b54630cb71b10e84e48ebb281a36a0253ac0 /kernel/bpf/verifier.c
parent61a40c12496a763fdb95edc08d59f816a594a87a (diff)
bpf, x86: Use emit_nops to replace memcpy x86_nops
Move emit_nops() before emit_prologue() and replace memcpy(prog, x86_nops[5], X86_PATCH_SIZE) with emit_nops(&prog, X86_PATCH_SIZE). Signed-off-by: Leon Hwang <hffilwlqm@gmail.com> Link: https://lore.kernel.org/r/20240104142226.87869-2-hffilwlqm@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/verifier.c')
0 files changed, 0 insertions, 0 deletions