Re: [PATCH] bpf: Constify struct btf_kind_operations
From: patchwork-bot+netdevbpf
Date: Wed Sep 25 2024 - 06:10:39 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:
On Sun, 15 Sep 2024 18:21:54 +0200 you wrote:
> 'struct btf_kind_operations' are not modified in this driver.
>
> Constifying this structures moves some data to a read-only section, so
> increase overall security, especially when the structure holds some
> function pointers.
>
> On a x86_64, with allmodconfig:
> Before:
> ======
> text data bss dec hex filename
> 184320 7091 548 191959 2edd7 kernel/bpf/btf.o
>
> [...]
Here is the summary with links:
- bpf: Constify struct btf_kind_operations
https://git.kernel.org/bpf/bpf-next/c/5e0965040301
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html