Searched refs:key_restriction (Results 1 – 9 of 9) sorted by relevance
31 struct key_restriction *restriction; in ima_mok_init()35 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in ima_mok_init()
78 static __init struct key_restriction *get_builtin_and_secondary_restriction(void) in get_builtin_and_secondary_restriction()80 struct key_restriction *restriction; in get_builtin_and_secondary_restriction()82 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in get_builtin_and_secondary_restriction()
136 struct key_restriction { struct234 struct key_restriction *restrict_link;243 struct key_restriction *restrict_link);320 struct key_restriction *restrict_link,
156 struct key_restriction *(*lookup_restriction)(const char *params);
457 static struct key_restriction *asymmetric_restriction_alloc( in asymmetric_restriction_alloc()461 struct key_restriction *keyres = in asymmetric_restriction_alloc()462 kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in asymmetric_restriction_alloc()477 static struct key_restriction *asymmetric_lookup_restriction( in asymmetric_lookup_restriction()483 struct key_restriction *ret = ERR_PTR(-EINVAL); in asymmetric_lookup_restriction()
85 struct key_restriction *restriction; in integrity_init_keyring()91 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in integrity_init_keyring()
398 struct key_restriction *keyres = keyring->restrict_link; in keyring_destroy()497 struct key_restriction *restrict_link, in keyring_alloc()940 static struct key_restriction *keyring_restriction_alloc( in keyring_restriction_alloc()943 struct key_restriction *keyres = in keyring_restriction_alloc()944 kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in keyring_restriction_alloc()965 struct key_restriction *keyres) in keyring_detect_restriction_cycle()989 struct key_restriction *restrict_link; in keyring_restrict()1555 struct key_restriction *keyres; in keyring_restriction_gc()
231 struct key_restriction *restrict_link) in key_alloc()522 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()817 struct key_restriction *restrict_link = NULL; in key_create_or_update()
1067 struct key_restriction *restrict_link,1477 * ``struct key_restriction *(*lookup_restriction)(const char *params);``1481 name) is passed in, and this method returns a pointer to a key_restriction