mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
bpf: drop bpf_lsm_getselfattr from hook list
Backport ("bpf, lsm: Add disabled BPF LSM hook list") for v6.6.y bring the
warning "WARN: resolve_btfids: unresolved symbol bpf_lsm_getselfattr".
The lsm_getselfattr from commit a04a119808
("LSM: syscalls for current process attributes"), no need to backport
the huge patch, simply drop the entry to fix the noise.
This is a fix for stable v6.6.145 backport commit, so no upstream commit.
Fixes: b3b4719429 ("bpf, lsm: Add disabled BPF LSM hook list")
Link: https://lore.kernel.org/stable/20260728225520.stable-0003@kernel.org/
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2efa9f57d0
commit
d65e397a1f
@@ -42,7 +42,6 @@ BTF_ID(func, bpf_lsm_inode_need_killpriv)
|
||||
BTF_ID(func, bpf_lsm_inode_getsecurity)
|
||||
BTF_ID(func, bpf_lsm_inode_listsecurity)
|
||||
BTF_ID(func, bpf_lsm_inode_copy_up_xattr)
|
||||
BTF_ID(func, bpf_lsm_getselfattr)
|
||||
BTF_ID(func, bpf_lsm_getprocattr)
|
||||
BTF_ID(func, bpf_lsm_setprocattr)
|
||||
#ifdef CONFIG_KEYS
|
||||
|
||||
Reference in New Issue
Block a user