Searched refs:restrict_link (Results 1 – 5 of 5) sorted by relevance
/linux/security/keys/ |
H A D | keyring.c | 424 if (keyring->restrict_link) { in keyring_destroy() 425 struct key_restriction *keyres = keyring->restrict_link; in keyring_destroy() 520 struct key_restriction *restrict_link, in keyring_alloc() argument 527 uid, gid, cred, perm, flags, restrict_link); in keyring_alloc() 1008 keyres = keyres->key->restrict_link; in keyring_detect_restriction_cycle() 1029 struct key_restriction *restrict_link; in keyring_restrict() local 1039 restrict_link = keyring_restriction_alloc(restrict_link_reject); in keyring_restrict() 1051 restrict_link = restrict_type->lookup_restriction(restriction); in keyring_restrict() 1054 if (IS_ERR(restrict_link)) { in keyring_restrict() 1055 ret = PTR_ERR(restrict_link); in keyring_restrict() [all …]
|
H A D | key.c | 227 struct key_restriction *restrict_link) in key_alloc() argument 298 key->restrict_link = restrict_link; in key_alloc() 529 if (keyring->restrict_link && keyring->restrict_link->check) { in key_instantiate_and_link() 530 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link() 590 if (keyring->restrict_link) in key_reject_and_link() 821 struct key_restriction *restrict_link = NULL; in __key_create_or_update() local 841 restrict_link = keyring->restrict_link; in __key_create_or_update() 880 if (restrict_link && restrict_link->check) { in __key_create_or_update() 881 ret = restrict_link->check(keyring, index_key.type, in __key_create_or_update() 882 &prep.payload, restrict_link->key); in __key_create_or_update()
|
H A D | gc.c | 231 key->restrict_link) { in key_garbage_collector()
|
/linux/include/linux/ |
H A D | key.h | 280 struct key_restriction *restrict_link; member 289 struct key_restriction *restrict_link); 424 struct key_restriction *restrict_link,
|
/linux/Documentation/security/keys/ |
H A D | core.rst | 1260 struct key_restriction *restrict_link, 1272 If restrict_link is not NULL, it should point to a structure that contains
|