Home
last modified time | relevance | path

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

/Linux-v4.19/security/keys/
Dkeyring.c397 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() argument
504 uid, gid, cred, perm, flags, restrict_link); in keyring_alloc()
972 keyres = keyres->key->restrict_link; in keyring_detect_restriction_cycle()
989 struct key_restriction *restrict_link; in keyring_restrict() local
999 restrict_link = keyring_restriction_alloc(restrict_link_reject); in keyring_restrict()
1011 restrict_link = restrict_type->lookup_restriction(restriction); in keyring_restrict()
1014 if (IS_ERR(restrict_link)) { in keyring_restrict()
1015 ret = PTR_ERR(restrict_link); in keyring_restrict()
[all …]
Dkey.c231 struct key_restriction *restrict_link) in key_alloc() argument
299 key->restrict_link = restrict_link; in key_alloc()
521 if (keyring->restrict_link && keyring->restrict_link->check) { in key_instantiate_and_link()
522 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()
582 if (keyring->restrict_link) in key_reject_and_link()
817 struct key_restriction *restrict_link = NULL; in key_create_or_update() local
837 restrict_link = keyring->restrict_link; in key_create_or_update()
868 if (restrict_link && restrict_link->check) { in key_create_or_update()
869 ret = restrict_link->check(keyring, index_key.type, in key_create_or_update()
870 &prep.payload, restrict_link->key); in key_create_or_update()
Dgc.c231 key->restrict_link) { in key_garbage_collector()
/Linux-v4.19/include/linux/
Dkey.h234 struct key_restriction *restrict_link; member
243 struct key_restriction *restrict_link);
320 struct key_restriction *restrict_link,
/Linux-v4.19/Documentation/security/keys/
Dcore.rst1067 struct key_restriction *restrict_link,
1079 If restrict_link is not NULL, it should point to a structure that contains