Commit de649ec7 authored by Lorenz Bauer's avatar Lorenz Bauer Committed by Greg Kroah-Hartman
Browse files

bpf: Prevent increasing bpf_jit_limit above max



[ Upstream commit fadb7ff1 ]

Restrict bpf_jit_limit to the maximum supported by the arch's JIT.

Signed-off-by: default avatarLorenz Bauer <lmb@cloudflare.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211014142554.53120-4-lmb@cloudflare.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent df8665c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment