]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Save PTR_TO_BTF_ID register state when spilling to stack
authorMartin KaFai Lau <kafai@fb.com>
Thu, 9 Jan 2020 00:34:54 +0000 (16:34 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 9 Jan 2020 16:45:32 +0000 (08:45 -0800)
commit69d0982849ea0f6e88d6ba0dfd02357a922d8b48
tree4e07d0e4334e550a892f4a05dc89fc1706329aa5
parent88cf27ab70ebbb17fdfbfdc7119f23518ddfd99d
bpf: Save PTR_TO_BTF_ID register state when spilling to stack

This patch makes the verifier save the PTR_TO_BTF_ID register state when
spilling to the stack.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200109003454.3854870-1-kafai@fb.com
kernel/bpf/verifier.c