]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Fix renaming task_getsecid_subj->current_getsecid_subj.
authorAlexei Starovoitov <ast@kernel.org>
Tue, 25 Jan 2022 04:20:51 +0000 (20:20 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 25 Jan 2022 04:20:51 +0000 (20:20 -0800)
commit77bfc1959d162ab55d6e78aad4758389dcf89ee1
treef863548feedc3cb5e61ecbc8bb76ae85980a5a5b
parentc32d555aad41bc7f6abec96a64c7be99c379f3aa
bpf: Fix renaming task_getsecid_subj->current_getsecid_subj.

The commit adccbdba010f missed renaming of task->current LSM hook in BTF_ID.
Fix it to silence build warning:
WARN: resolve_btfids: unresolved symbol bpf_lsm_task_getsecid_subj

Fixes: adccbdba010f ("lsm: security_task_getsecid_subj() -> security_current_getsecid_subj()")
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/bpf_lsm.c