FROMGIT: bpf: drop bpf_lsm_getselfattr from hook list

Backport ("bpf, lsm: Add disabled BPF LSM hook list") for v6.1.y bring the
warning "WARN: resolve_btfids: unresolved symbol bpf_lsm_getselfattr".

The lsm_getselfattr from commit a04a1198088a
("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.1.178 backport commit, so no upstream commit.

Fixes: 0562ae02a6c4 ("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>
(cherry picked from commit 3eb9407d266d3829edcc3f19784d09a4afaf80bc
 https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux.git linux-6.1.y)

BUG=b:542900253
TEST=cq

Change-Id: Ida73818de07ba5fd0dfc6f4905dd39c23aeb9dba
Disallow-Recycled-Builds: test-failures
Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/8276236
Reviewed-by: Jędrzej Ciupis <jciupis@google.com>
Reviewed-by: Sean Paul <sean@poorly.run>
1 file changed