Home
last modified time | relevance | path

Searched refs:newrangep (Results 1 – 1 of 1) sorted by relevance

/external/selinux/policycoreutils/newrole/
Dnewrole.c120 char *newrangep = NULL; in build_new_range() local
130 newrangep = strdup(newlevel); in build_new_range()
131 return newrangep; in build_new_range()
139 newrangep = (char *)malloc(len); in build_new_range()
140 if (!newrangep) in build_new_range()
142 snprintf(newrangep, len, "%s-%s", newlevel, tmpptr + 1); in build_new_range()
146 newrangep = strdup(range); in build_new_range()
149 newrangep = (char *)malloc(len); in build_new_range()
150 if (!newrangep) in build_new_range()
152 snprintf(newrangep, len, "%s-%s", newlevel, range); in build_new_range()
[all …]