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.c283 typedef int (*child_callback_fn)(int bpffs_fd, struct token_lsm *lsm_skel);
288 struct token_lsm *lsm_skel = NULL; in child() local
291 lsm_skel = token_lsm__open_and_load(); in child()
292 if (!ASSERT_OK_PTR(lsm_skel, "lsm_skel_load")) { in child()
296 lsm_skel->bss->my_pid = getpid(); in child()
297 err = token_lsm__attach(lsm_skel); in child()
392 err = callback(bpffs_fd, lsm_skel); in child()
404 lsm_skel->bss->my_pid = 0; in child()
405 token_lsm__destroy(lsm_skel); in child()
498 static int userns_map_create(int mnt_fd, struct token_lsm *lsm_skel) in userns_map_create() argument
[all …]