Searched refs:restrict_link (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/security/keys/ |
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() 1005 keyres = keyres->key->restrict_link; in keyring_detect_restriction_cycle() 1026 struct key_restriction *restrict_link; in keyring_restrict() local 1036 restrict_link = keyring_restriction_alloc(restrict_link_reject); in keyring_restrict() 1048 restrict_link = restrict_type->lookup_restriction(restriction); in keyring_restrict() 1051 if (IS_ERR(restrict_link)) { in keyring_restrict() 1052 ret = PTR_ERR(restrict_link); in keyring_restrict() [all …]
|
D | key.c | 228 struct key_restriction *restrict_link) in key_alloc() argument 297 key->restrict_link = restrict_link; in key_alloc() 526 if (keyring->restrict_link && keyring->restrict_link->check) { in key_instantiate_and_link() 527 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link() 587 if (keyring->restrict_link) in key_reject_and_link() 830 struct key_restriction *restrict_link = NULL; in key_create_or_update() local 850 restrict_link = keyring->restrict_link; in key_create_or_update() 888 if (restrict_link && restrict_link->check) { in key_create_or_update() 889 ret = restrict_link->check(keyring, index_key.type, in key_create_or_update() 890 &prep.payload, restrict_link->key); in key_create_or_update()
|
D | gc.c | 231 key->restrict_link) { in key_garbage_collector()
|
/Linux-v5.10/include/linux/ |
D | key.h | 274 struct key_restriction *restrict_link; member 283 struct key_restriction *restrict_link); 409 struct key_restriction *restrict_link,
|
/Linux-v5.10/Documentation/security/keys/ |
D | core.rst | 1260 struct key_restriction *restrict_link, 1272 If restrict_link is not NULL, it should point to a structure that contains
|