Thread (2 messages) flat view 2 messages, 2 authors, 2021-09-22

Re: [PATCH bpf] bpf: exempt CAP_BPF from checks against bpf_jit_limit

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-09-22 21:40:09
Also in: bpf, lkml

Hello:

This patch was applied to bpf/bpf.git (refs/heads/master):

On Wed, 22 Sep 2021 12:11:52 +0100 you wrote:
When introducing CAP_BPF, bpf_jit_charge_modmem was not changed to
treat programs with CAP_BPF as privileged for the purpose of JIT
memory allocation. This means that a program without CAP_BPF can
block a program with CAP_BPF from loading a program.

Fix this by checking bpf_capable in bpf_jit_charge_modmem.

[...]
Here is the summary with links:
  - [bpf] bpf: exempt CAP_BPF from checks against bpf_jit_limit
    https://git.kernel.org/bpf/bpf/c/7c3a00911b3d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help