Commit 1728dd91 authored by Lorenz Bauer's avatar Lorenz Bauer Committed by sanglipeng
Browse files

selftests/bpf: check that modifier resolves after pointer

stable inclusion
from stable-v5.10.177
commit 8c42442887db59ac4b67aeaf8825d1192bc783d6
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I88YNP

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



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

[ Upstream commit dfdd608c ]

Add a regression test that ensures that a VAR pointing at a
modifier which follows a PTR (or STRUCT or ARRAY) is resolved
correctly by the datasec validator.

Signed-off-by: default avatarLorenz Bauer <lmb@isovalent.com>
Link: https://lore.kernel.org/r/20230306112138.155352-3-lmb@isovalent.com


Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent e571e13e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment