Home
last modified time | relevance | path

Searched refs:lsm_skel (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c279 typedef int (*child_callback_fn)(int bpffs_fd, struct token_lsm *lsm_skel);
284 struct token_lsm *lsm_skel = NULL; in child() local
288 lsm_skel = token_lsm__open_and_load(); in child()
289 if (!ASSERT_OK_PTR(lsm_skel, "lsm_skel_load")) { in child()
293 lsm_skel->bss->my_pid = getpid(); in child()
294 err = token_lsm__attach(lsm_skel); in child()
395 err = callback(bpffs_fd, lsm_skel); in child()
407 lsm_skel->bss->my_pid = 0; in child()
408 token_lsm__destroy(lsm_skel); in child()
500 static int userns_map_create(int mnt_fd, struct token_lsm *lsm_skel) in userns_map_create() argument
[all …]