Searched defs:new_perm (Results 1 - 2 of 2) sorted by relevance

/external/libsepol/src/
H A Dexpand.c269 perm_datum_t *perm, *new_perm; local
275 new_perm = (perm_datum_t *) malloc(sizeof(perm_datum_t));
276 if (!new_perm) {
279 memset(new_perm, 0, sizeof(perm_datum_t));
283 free(new_perm);
287 new_perm->s.value = perm->s.value;
290 ret = hashtab_insert(s->table, new_id, (hashtab_datum_t *) new_perm);
293 free(new_perm);
2633 class_perm_node_t *cur_perm, *new_perm, *tail_perm; local
2663 new_perm
[all...]
H A Dlink.c127 perm_datum_t *perm, *new_perm = NULL, *dest_perm; local
155 new_perm =
157 if (new_perm == NULL) {
164 (hashtab_datum_t) new_perm);
170 new_perm->s.value = dest_class->permissions.nprim + 1;
171 dest_perm = new_perm;
204 free(new_perm);
1264 class_perm_node_t *cur_perm, *new_perm, *tail_perm = NULL; local
1290 if ((new_perm = (class_perm_node_t *)
1294 class_perm_node_init(new_perm);
[all...]

Completed in 40 milliseconds