Searched refs:restrict_link (Results 1 – 3 of 3) sorted by relevance
397 if (keyring->restrict_link) { in keyring_destroy()398 struct key_restriction *keyres = keyring->restrict_link; in keyring_destroy()497 struct key_restriction *restrict_link, in keyring_alloc() argument504 uid, gid, cred, perm, flags, restrict_link); in keyring_alloc()977 keyres = keyres->key->restrict_link; in keyring_detect_restriction_cycle()994 struct key_restriction *restrict_link; in keyring_restrict() local1004 restrict_link = keyring_restriction_alloc(restrict_link_reject); in keyring_restrict()1016 restrict_link = restrict_type->lookup_restriction(restriction); in keyring_restrict()1019 if (IS_ERR(restrict_link)) { in keyring_restrict()1020 ret = PTR_ERR(restrict_link); in keyring_restrict()[all …]
231 struct key_restriction *restrict_link) in key_alloc() argument299 key->restrict_link = restrict_link; in key_alloc()522 if (keyring->restrict_link && keyring->restrict_link->check) { in key_instantiate_and_link()523 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()584 if (keyring->restrict_link) in key_reject_and_link()823 struct key_restriction *restrict_link = NULL; in key_create_or_update() local844 restrict_link = keyring->restrict_link; in key_create_or_update()875 if (restrict_link && restrict_link->check) { in key_create_or_update()876 ret = restrict_link->check(keyring, index_key.type, in key_create_or_update()877 &prep.payload, restrict_link->key); in key_create_or_update()
231 key->restrict_link) { in key_garbage_collector()