Searched refs:restrict_link (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/security/keys/ |
D | keyring.c | 424 if (keyring->restrict_link) { in keyring_destroy() 425 struct key_restriction *keyres = keyring->restrict_link; in keyring_destroy() 524 struct key_restriction *restrict_link, in keyring_alloc() argument 531 uid, gid, cred, perm, flags, restrict_link); in keyring_alloc() 1009 keyres = keyres->key->restrict_link; in keyring_detect_restriction_cycle() 1030 struct key_restriction *restrict_link; in keyring_restrict() local 1040 restrict_link = keyring_restriction_alloc(restrict_link_reject); in keyring_restrict() 1052 restrict_link = restrict_type->lookup_restriction(restriction); in keyring_restrict() 1055 if (IS_ERR(restrict_link)) { in keyring_restrict() 1056 ret = PTR_ERR(restrict_link); in keyring_restrict() [all …]
|
D | key.c | 227 struct key_restriction *restrict_link) in key_alloc() argument 296 key->restrict_link = restrict_link; in key_alloc() 524 if (keyring->restrict_link && keyring->restrict_link->check) { in key_instantiate_and_link() 525 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link() 585 if (keyring->restrict_link) in key_reject_and_link() 825 struct key_restriction *restrict_link = NULL; in key_create_or_update() local 845 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()
|
D | gc.c | 226 key->restrict_link) { in key_garbage_collector()
|
/Linux-v5.4/include/linux/ |
D | key.h | 254 struct key_restriction *restrict_link; member 263 struct key_restriction *restrict_link); 389 struct key_restriction *restrict_link,
|
/Linux-v5.4/Documentation/security/keys/ |
D | core.rst | 1199 struct key_restriction *restrict_link, 1211 If restrict_link is not NULL, it should point to a structure that contains
|