Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dverify_pkcs7_sig.c309 skel->bss->user_keyring_serial = KEY_SPEC_SESSION_KEYRING; in test_verify_pkcs7_sig()
325 skel->bss->user_keyring_serial = syscall(__NR_request_key, "keyring", in test_verify_pkcs7_sig()
337 syscall(__NR_keyctl, KEYCTL_SETPERM, skel->bss->user_keyring_serial, in test_verify_pkcs7_sig()
344 syscall(__NR_keyctl, KEYCTL_SETPERM, skel->bss->user_keyring_serial, in test_verify_pkcs7_sig()
351 skel->bss->user_keyring_serial, 1); in test_verify_pkcs7_sig()
358 skel->bss->user_keyring_serial = KEY_SPEC_SESSION_KEYRING; in test_verify_pkcs7_sig()
372 skel->bss->user_keyring_serial = 0; in test_verify_pkcs7_sig()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_verify_pkcs7_sig.c25 __u32 user_keyring_serial; variable
81 if (user_keyring_serial) in BPF_PROG()
82 trusted_keyring = bpf_lookup_user_key(user_keyring_serial, 0); in BPF_PROG()