commit | c237ee5eb33bf19fe0591c04ff8db19da7323a83 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Fri May 13 19:08:30 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon May 16 13:49:32 2016 -0400 |
tree | 8db90add83d5becc20b69434523448970ec16351 | |
parent | 93a73d442d370e20ed1009cd79cb29c4d7c0ee86 [diff] |
bpf: add bpf_patch_insn_single helper Move the functionality to patch instructions out of the verifier code and into the core as the new bpf_patch_insn_single() helper will be needed later on for blinding as well. No changes in functionality. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>