Searched refs:key_restriction (Results 1 – 9 of 9) sorted by relevance
26 struct key_restriction *restriction; in ima_mok_init()30 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in ima_mok_init()
99 struct key_restriction *restriction) in __integrity_init_keyring()122 struct key_restriction *restriction; in integrity_init_keyring()136 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in integrity_init_keyring()
153 struct key_restriction { struct254 struct key_restriction *restrict_link;263 struct key_restriction *restrict_link);389 struct key_restriction *restrict_link,
148 struct key_restriction *(*lookup_restriction)(const char *params);
77 static __init struct key_restriction *get_builtin_and_secondary_restriction(void) in get_builtin_and_secondary_restriction()79 struct key_restriction *restriction; in get_builtin_and_secondary_restriction()81 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in get_builtin_and_secondary_restriction()
454 static struct key_restriction *asymmetric_restriction_alloc( in asymmetric_restriction_alloc()458 struct key_restriction *keyres = in asymmetric_restriction_alloc()459 kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in asymmetric_restriction_alloc()474 static struct key_restriction *asymmetric_lookup_restriction( in asymmetric_lookup_restriction()480 struct key_restriction *ret = ERR_PTR(-EINVAL); in asymmetric_lookup_restriction()
425 struct key_restriction *keyres = keyring->restrict_link; in keyring_destroy()524 struct key_restriction *restrict_link, in keyring_alloc()977 static struct key_restriction *keyring_restriction_alloc( in keyring_restriction_alloc()980 struct key_restriction *keyres = in keyring_restriction_alloc()981 kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in keyring_restriction_alloc()1002 struct key_restriction *keyres) in keyring_detect_restriction_cycle()1030 struct key_restriction *restrict_link; in keyring_restrict()1761 struct key_restriction *keyres; in keyring_restriction_gc()
227 struct key_restriction *restrict_link) in key_alloc()525 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()825 struct key_restriction *restrict_link = NULL; in key_create_or_update()
1199 struct key_restriction *restrict_link,1609 * ``struct key_restriction *(*lookup_restriction)(const char *params);``1613 name) is passed in, and this method returns a pointer to a key_restriction