]> 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)
commitca8c76610f18de6336076e04ca097ba627cfd9fd
treef863548feedc3cb5e61ecbc8bb76ae85980a5a5b
parentaf2b7e238c0f34095bb45e8686f30d295ecbf0ee
bpf: Fix renaming task_getsecid_subj->current_getsecid_subj.

The commit 8971a7480fa4 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: 8971a7480fa4 ("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