Searched refs:key_restriction (Results 1 – 10 of 10) 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()
100 struct key_restriction *restriction) in __integrity_init_keyring()127 struct key_restriction *restriction; in integrity_init_keyring()144 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in integrity_init_keyring()
176 struct key_restriction { struct280 struct key_restriction *restrict_link;289 struct key_restriction *restrict_link);424 struct key_restriction *restrict_link,
150 struct key_restriction *(*lookup_restriction)(const char *params);
139 static __init struct key_restriction *get_builtin_and_secondary_restriction(void) in get_builtin_and_secondary_restriction()141 struct key_restriction *restriction; in get_builtin_and_secondary_restriction()143 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in get_builtin_and_secondary_restriction()
325 struct key_restriction *restriction; in blacklist_init()
487 static struct key_restriction *asymmetric_restriction_alloc( in asymmetric_restriction_alloc()491 struct key_restriction *keyres = in asymmetric_restriction_alloc()492 kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in asymmetric_restriction_alloc()507 static struct key_restriction *asymmetric_lookup_restriction( in asymmetric_lookup_restriction()513 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()976 static struct key_restriction *keyring_restriction_alloc( in keyring_restriction_alloc()979 struct key_restriction *keyres = in keyring_restriction_alloc()980 kzalloc(sizeof(struct key_restriction), GFP_KERNEL); in keyring_restriction_alloc()1001 struct key_restriction *keyres) in keyring_detect_restriction_cycle()1029 struct key_restriction *restrict_link; in keyring_restrict()1766 struct key_restriction *keyres; in keyring_restriction_gc()
227 struct key_restriction *restrict_link) in key_alloc()530 struct key_restriction *keyres = keyring->restrict_link; in key_instantiate_and_link()821 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