linux/arch/mips/net
Alexei Starovoitov 60b58afc96 bpf: fix net.core.bpf_jit_enable race
global bpf_jit_enable variable is tested multiple times in JITs,
blinding and verifier core. The malicious root can try to toggle
it while loading the programs. This race condition was accounted
for and there should be no issues, but it's safer to avoid
this race condition.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2017-12-17 20:34:36 +01:00
..
bpf_jit_asm.S MIPS: BPF: Fix multiple problems in JIT skb access helpers. 2017-04-10 11:56:05 +02:00
bpf_jit.c MIPS: BPF: Quit clobbering callee saved registers in JIT code. 2017-04-10 11:56:05 +02:00
bpf_jit.h MIPS: BPF: Introduce BPF ASM helpers 2015-06-21 21:54:25 +02:00
ebpf_jit.c bpf: fix net.core.bpf_jit_enable race 2017-12-17 20:34:36 +01:00
Makefile MIPS: Add support for eBPF JIT. 2017-06-28 12:22:39 +02:00