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()
98 struct key_restriction *restriction) in __integrity_init_keyring()123 struct key_restriction *restriction; in integrity_init_keyring()137 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in integrity_init_keyring()
80 static __init struct key_restriction *get_builtin_and_secondary_restriction(void) in get_builtin_and_secondary_restriction()82 struct key_restriction *restriction; in get_builtin_and_secondary_restriction()84 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in get_builtin_and_secondary_restriction()
170 struct key_restriction { struct274 struct key_restriction *restrict_link;283 struct key_restriction *restrict_link);410 struct key_restriction *restrict_link,
149 struct key_restriction *(*lookup_restriction)(const char *params);
456 static struct key_restriction *asymmetric_restriction_alloc( in asymmetric_restriction_alloc()460 struct key_restriction *keyres = in asymmetric_restriction_alloc()461 kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in asymmetric_restriction_alloc()476 static struct key_restriction *asymmetric_lookup_restriction( in asymmetric_lookup_restriction()482 struct key_restriction *ret = ERR_PTR(-EINVAL); in asymmetric_lookup_restriction()
425 struct key_restriction *keyres = keyring->restrict_link; in keyring_destroy()520 struct key_restriction *restrict_link, in keyring_alloc()973 static struct key_restriction *keyring_restriction_alloc( in keyring_restriction_alloc()976 struct key_restriction *keyres = in keyring_restriction_alloc()977 kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in keyring_restriction_alloc()998 struct key_restriction *keyres) in keyring_detect_restriction_cycle()1026 struct key_restriction *restrict_link; in keyring_restrict()1763 struct key_restriction *keyres; in keyring_restriction_gc()
228 struct key_restriction *restrict_link) in key_alloc()530 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()833 struct key_restriction *restrict_link = NULL; in key_create_or_update()
1260 struct key_restriction *restrict_link,1670 * ``struct key_restriction *(*lookup_restriction)(const char *params);``1674 name) is passed in, and this method returns a pointer to a key_restriction