Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/keys/
Dkeyring.c1025 struct key_type *restrict_type = NULL; in keyring_restrict() local
1038 restrict_type = key_type_lookup(type); in keyring_restrict()
1040 if (IS_ERR(restrict_type)) in keyring_restrict()
1041 return PTR_ERR(restrict_type); in keyring_restrict()
1043 if (!restrict_type->lookup_restriction) { in keyring_restrict()
1048 restrict_link = restrict_type->lookup_restriction(restriction); in keyring_restrict()
1077 if (restrict_type) in keyring_restrict()
1078 key_type_put(restrict_type); in keyring_restrict()