Home | History | Annotate | Download | only in src

Lines Matching refs:rootpath

49 static char *rootpath = NULL;
598 if (rootpath) {
599 if (strncmp(rootpath, lookup_path, rootpathlen) != 0) {
602 lookup_path, rootpath);
608 if (rootpath != NULL && lookup_path[0] == '\0')
1102 /* selinux_restorecon_set_alt_rootpath(3) sets an alternate rootpath. */
1108 if (rootpath)
1109 free(rootpath);
1111 rootpath = strdup(alt_rootpath);
1112 if (!rootpath) {
1118 len = strlen(rootpath);
1119 while (len && (rootpath[len - 1] == '/'))
1120 rootpath[--len] = '\0';