Home
last modified time | relevance | path

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

/security/keys/
A Dkeyring.c424 if (keyring->restrict_link) { in keyring_destroy()
1008 keyres = keyres->key->restrict_link; in keyring_detect_restriction_cycle()
1029 struct key_restriction *restrict_link; in keyring_restrict() local
1054 if (IS_ERR(restrict_link)) { in keyring_restrict()
1055 ret = PTR_ERR(restrict_link); in keyring_restrict()
1062 if (keyring->restrict_link) { in keyring_restrict()
1067 keyring->restrict_link = restrict_link; in keyring_restrict()
1075 key_put(restrict_link->key); in keyring_restrict()
1076 kfree(restrict_link); in keyring_restrict()
1412 if (!keyring->restrict_link || !keyring->restrict_link->check) in __key_link_check_restriction()
[all …]
A Dkey.c227 struct key_restriction *restrict_link) in key_alloc() argument
298 key->restrict_link = restrict_link; in key_alloc()
530 if (keyring->restrict_link && keyring->restrict_link->check) { in key_instantiate_and_link()
531 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()
591 if (keyring->restrict_link) in key_reject_and_link()
824 struct key_restriction *restrict_link = NULL; in __key_create_or_update() local
844 restrict_link = keyring->restrict_link; in __key_create_or_update()
883 if (restrict_link && restrict_link->check) { in __key_create_or_update()
884 ret = restrict_link->check(keyring, index_key.type, in __key_create_or_update()
885 &prep.payload, restrict_link->key); in __key_create_or_update()
A Dgc.c233 key->restrict_link) { in key_garbage_collector()

Completed in 10 milliseconds