diff options
| author | 2026-04-12 13:45:38 -0400 | |
|---|---|---|
| committer | 2026-04-12 12:47:39 -0700 | |
| commit | ac61bffe91d4bda08806e12957c6d64756d042db (patch) | |
| tree | 7248935da78a7686f9665c217e337bf3deb68395 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | Merge branch 'bpf-add-the-missing-fsession' (diff) | |
bpf: Allow instructions with arena source and non-arena dest registers
The compiler sometimes stores the result of a PTR_TO_ARENA and SCALAR
operation into the scalar register rather than the pointer register.
Relax the verifier to allow operations between a source arena register
and a destination non-arena register, marking the destination's value
as a PTR_TO_ARENA.
Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>
Acked-by: Song Liu <song@kernel.org>
Fixes: 6082b6c328b5 ("bpf: Recognize addr_space_cast instruction in the verifier.")
Link: https://lore.kernel.org/r/20260412174546.18684-2-emil@etsalapatis.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
