Lines Matching defs:rootpath
48 static char *rootpath = NULL;
682 if (rootpath) {
683 if (strncmp(rootpath, lookup_path, rootpathlen) != 0) {
686 lookup_path, rootpath);
692 if (rootpath != NULL && lookup_path[0] == '\0')
1519 /* selinux_restorecon_set_alt_rootpath(3) sets an alternate rootpath. */
1525 if (rootpath)
1526 free(rootpath);
1528 rootpath = strdup(alt_rootpath);
1529 if (!rootpath) {
1535 len = strlen(rootpath);
1536 while (len && (rootpath[len - 1] == '/'))
1537 rootpath[--len] = '\0';