diff options
author | 2021-10-14 15:25:53 +0100 | |
---|---|---|
committer | 2021-10-22 17:23:53 -0700 | |
commit | fadb7ff1a6c2c565af56b4aacdd086b067eed440 (patch) | |
tree | 3e5cda8336b05541dd33b7888ba131c1bc910871 /kernel/bpf/arraymap.c | |
parent | bpf: Define bpf_jit_alloc_exec_limit for arm64 JIT (diff) | |
download | linux-dev-fadb7ff1a6c2c565af56b4aacdd086b067eed440.tar.xz linux-dev-fadb7ff1a6c2c565af56b4aacdd086b067eed440.zip |
bpf: Prevent increasing bpf_jit_limit above max
Restrict bpf_jit_limit to the maximum supported by the arch's JIT.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211014142554.53120-4-lmb@cloudflare.com
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions