mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
selftests/bpf: fix some typos in selftests
Hi, fix some spelling errors in selftest, the details are as follows: -in the codes: test_bpf_sk_stoarge_map_iter_fd(void) ->test_bpf_sk_storage_map_iter_fd(void) load BTF from btf_data.o->load BTF from btf_data.bpf.o -in the code comments: preample->preamble multi-contollers->multi-controllers errono->errno unsighed/unsinged->unsigned egree->egress shoud->should regsiter->register assummed->assumed conditiona->conditional rougly->roughly timetamp->timestamp ingores->ignores null-termainted->null-terminated slepable->sleepable implemenation->implementation veriables->variables timetamps->timestamps substitue a costant->substitute a constant secton->section unreferened->unreferenced verifer->verifier libppf->libbpf ... Signed-off-by: Lin Yikai <yikai.lin@vivo.com> Link: https://lore.kernel.org/r/20240905110354.3274546-1-yikai.lin@vivo.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
committed by
Alexei Starovoitov
parent
552895afad
commit
5db0ba6766
@@ -867,7 +867,7 @@ static int userns_obj_priv_implicit_token(int mnt_fd, struct token_lsm *lsm_skel
|
||||
}
|
||||
unsetenv(TOKEN_ENVVAR);
|
||||
|
||||
/* now the same struct_ops skeleton should succeed thanks to libppf
|
||||
/* now the same struct_ops skeleton should succeed thanks to libbpf
|
||||
* creating BPF token from /sys/fs/bpf mount point
|
||||
*/
|
||||
skel = dummy_st_ops_success__open_and_load();
|
||||
@@ -929,7 +929,7 @@ static int userns_obj_priv_implicit_token_envvar(int mnt_fd, struct token_lsm *l
|
||||
if (!ASSERT_OK(err, "setenv_token_path"))
|
||||
goto err_out;
|
||||
|
||||
/* now the same struct_ops skeleton should succeed thanks to libppf
|
||||
/* now the same struct_ops skeleton should succeed thanks to libbpf
|
||||
* creating BPF token from custom mount point
|
||||
*/
|
||||
skel = dummy_st_ops_success__open_and_load();
|
||||
|
||||
Reference in New Issue
Block a user