diff options
| author | Daniel Borkmann <daniel@iogearbox.net> | 2026-09-15 17:07:36 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-09-19 19:03:14 +0000 |
| commit | 3479e396eef4db6514ab59d2ec889ae237869486 (patch) | |
| tree | 74080cda9dca2cf17baccc114b60a8a5ca50c062 /include/linux | |
| parent | ff0d1c0915d1fce9b4b8613a8b52b0da51463d87 (diff) | |
bpf, lsm: Mark the BPF LSM hook overrides noinline
The stubs that bpf_lsm_proto.c overrides are generated as:
#define LSM_HOOK(RET, DEFAULT, NAME, ...) \
__weak noinline RET bpf_lsm_##NAME(__VA_ARGS__) \
{ \
return DEFAULT; \
}
Mark the overrides noinline as well so they hold up the same contract
as the stubs they replace.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://patch.msgid.link/20260915150739.284189-6-daniel@iogearbox.net
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
