Searched refs:rootpath (Results 1 – 5 of 5) sorted by relevance
46 static char *rootpath = NULL; variable649 if (rootpath) { in restorecon_sb()650 if (strncmp(rootpath, lookup_path, rootpathlen) != 0) { in restorecon_sb()653 lookup_path, rootpath); in restorecon_sb()667 if (rootpath != NULL && lookup_path[0] == '\0') in restorecon_sb()1433 if (rootpath) in selinux_restorecon_set_alt_rootpath()1434 free(rootpath); in selinux_restorecon_set_alt_rootpath()1436 rootpath = strdup(alt_rootpath); in selinux_restorecon_set_alt_rootpath()1437 if (!rootpath) { in selinux_restorecon_set_alt_rootpath()1443 len = strlen(rootpath); in selinux_restorecon_set_alt_rootpath()[all …]
1433 string rootpath, zonetab, version; in main() local1438 rootpath = argv[1]; in main()1485 scandir(rootpath); in main()1487 cerr << "Error: While scanning " << rootpath << ": " << error.what() << endl; in main()
570 extern int selinux_set_policy_root(const char *rootpath);