Lines Matching defs:restriction
100 struct key_restriction *restriction)
107 KEY_ALLOC_NOT_IN_QUOTA, restriction, NULL);
127 struct key_restriction *restriction;
137 restriction = NULL;
144 restriction = kzalloc(sizeof(struct key_restriction), GFP_KERNEL);
145 if (!restriction)
149 restriction->check = restrict_link_by_ca;
151 restriction->check = restrict_link_to_ima;
162 ret = __integrity_init_keyring(id, perm, restriction);
164 kfree(restriction);