Home
last modified time | relevance | path

Searched refs:restrict_link (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/security/keys/
H A Dkeyring.c424 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()
527 uid, gid, cred, perm, flags, restrict_link); in keyring_alloc()
552 * in the restrict_link parameter to 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()
517 keyring_alloc(const char *description, kuid_t uid, kgid_t gid, const struct cred *cred, key_perm_t perm, unsigned long flags, struct key_restriction *restrict_link, struct key *dest) keyring_alloc() argument
[all...]
H A Dkey.c201 * @restrict_link: Optional link restriction for new keyrings.
207 * The restrict_link structure (if not NULL) will be freed when the
228 struct key_restriction *restrict_link) in key_alloc()
298 key->restrict_link = restrict_link; in key_alloc()
527 if (keyring->restrict_link && keyring->restrict_link->check) { in key_instantiate_and_link()
528 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()
588 if (keyring->restrict_link) in key_reject_and_link()
828 struct key_restriction *restrict_link in key_create_or_update() local
225 key_alloc(struct key_type *type, const char *desc, kuid_t uid, kgid_t gid, const struct cred *cred, key_perm_t perm, unsigned long flags, struct key_restriction *restrict_link) key_alloc() argument
[all...]
H A Dgc.c239 key->restrict_link) { in key_garbage_collector()
/kernel/linux/linux-6.6/security/keys/
H A Dkeyring.c424 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()
527 uid, gid, cred, perm, flags, restrict_link); in keyring_alloc()
552 * in the restrict_link parameter to 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()
517 keyring_alloc(const char *description, kuid_t uid, kgid_t gid, const struct cred *cred, key_perm_t perm, unsigned long flags, struct key_restriction *restrict_link, struct key *dest) keyring_alloc() argument
[all...]
H A Dkey.c201 * @restrict_link: Optional link restriction for new keyrings.
207 * The restrict_link structure (if not NULL) will be freed when the
228 struct key_restriction *restrict_link) in key_alloc()
298 key->restrict_link = restrict_link; in key_alloc()
527 if (keyring->restrict_link && keyring->restrict_link->check) { in key_instantiate_and_link()
528 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()
588 if (keyring->restrict_link) in key_reject_and_link()
808 struct key_restriction *restrict_link in __key_create_or_update() local
225 key_alloc(struct key_type *type, const char *desc, kuid_t uid, kgid_t gid, const struct cred *cred, key_perm_t perm, unsigned long flags, struct key_restriction *restrict_link) key_alloc() argument
[all...]
H A Dgc.c239 key->restrict_link) { in key_garbage_collector()
/kernel/linux/linux-5.10/include/linux/
H A Dkey.h274 struct key_restriction *restrict_link; member
283 struct key_restriction *restrict_link);
410 struct key_restriction *restrict_link,
/kernel/linux/linux-6.6/include/linux/
H A Dkey.h280 struct key_restriction *restrict_link; member
289 struct key_restriction *restrict_link);
424 struct key_restriction *restrict_link,

Completed in 10 milliseconds