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

/linux-master/security/keys/
H A Dkeyring.c424 if (keyring->restrict_link) {
425 struct key_restriction *keyres = keyring->restrict_link;
520 struct key_restriction *restrict_link,
527 uid, gid, cred, perm, flags, restrict_link);
552 * in the restrict_link parameter to keyring_alloc().
1005 keyres = keyres->key->restrict_link;
1026 struct key_restriction *restrict_link; local
1036 restrict_link = keyring_restriction_alloc(restrict_link_reject);
1048 restrict_link = restrict_type->lookup_restriction(restriction);
1051 if (IS_ERR(restrict_link)) {
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) argument
[all...]
H A Dkey.c200 * @restrict_link: Optional link restriction for new keyrings.
206 * The restrict_link structure (if not NULL) will be freed when the
227 struct key_restriction *restrict_link)
297 key->restrict_link = restrict_link;
526 if (keyring->restrict_link && keyring->restrict_link->check) {
527 struct key_restriction *keyres = keyring->restrict_link;
587 if (keyring->restrict_link)
808 struct key_restriction *restrict_link local
224 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) argument
[all...]
H A Dgc.c239 key->restrict_link) {
/linux-master/include/linux/
H A Dkey.h280 struct key_restriction *restrict_link; member in struct:key
289 struct key_restriction *restrict_link);
424 struct key_restriction *restrict_link,

Completed in 142 milliseconds