Commit a3bf438e authored by Eduard Zingerman's avatar Eduard Zingerman Committed by zhaoxiaoqiang11
Browse files

selftests/bpf: Verify copy_register_state() preserves parent/live fields

stable inclusion
from stable-v5.10.169
commit 490fcbc7b5f6c4d7841de2baf59211dd3395cf21
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7V9QX

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=490fcbc7b5f6c4d7841de2baf59211dd3395cf21



----------------------------------------------------

[ Upstream commit b9fa9bc8 ]

A testcase to check that verifier.c:copy_register_state() preserves
register parentage chain and livness information.

Signed-off-by: default avatarEduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20230106142214.1040390-3-eddyz87@gmail.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarzhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
parent c83ffd8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment