Home
last modified time | relevance | path

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

/external/kmod/testsuite/
Dpath.c37 static const char *rootpath; variable
60 memcpy(buf, rootpath, rootpathlen); in trap_path()
67 if (rootpath != NULL) in get_rootpath()
70 rootpath = getenv(S_TC_ROOTFS); in get_rootpath()
71 if (rootpath == NULL) { in get_rootpath()
77 rootpathlen = strlen(rootpath); in get_rootpath()
/external/selinux/libselinux/src/
Dselinux_restorecon.c46 static char *rootpath = NULL; variable
606 if (rootpath) { in restorecon_sb()
607 if (strncmp(rootpath, lookup_path, rootpathlen) != 0) { in restorecon_sb()
610 lookup_path, rootpath); in restorecon_sb()
616 if (rootpath != NULL && lookup_path[0] == '\0') in restorecon_sb()
1210 if (rootpath) in selinux_restorecon_set_alt_rootpath()
1211 free(rootpath); in selinux_restorecon_set_alt_rootpath()
1213 rootpath = strdup(alt_rootpath); in selinux_restorecon_set_alt_rootpath()
1214 if (!rootpath) { in selinux_restorecon_set_alt_rootpath()
1220 len = strlen(rootpath); in selinux_restorecon_set_alt_rootpath()
[all …]
/external/selinux/libsemanage/tests/
Dtest_semanage_store.c47 const char *rootpath = "./test-policy"; variable
62 err = mkdir(rootpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init()
91 err = semanage_check_init(sh, rootpath); in semanage_store_test_init()
118 err = rmdir(rootpath); in semanage_store_test_cleanup()
/external/selinux/policycoreutils/setfiles/
Drestore.c49 if (opts->rootpath) { in restore_init()
50 rc = selinux_restorecon_set_alt_rootpath(opts->rootpath); in restore_init()
Dsetfiles.c77 r_opts.rootpath = strdup(arg); in set_rootpath()
78 if (!r_opts.rootpath) { in set_rootpath()
350 if (r_opts.rootpath) {
Drestore.h39 char *rootpath; member
/external/selinux/restorecond/
Drestore.c43 if (opts->rootpath) { in restore_init()
44 rc = selinux_restorecon_set_alt_rootpath(opts->rootpath); in restore_init()
Drestore.h45 char *rootpath; member
/external/catch2/.conan/test_package/
Dconanfile.py17 …assert os.path.isfile(os.path.join(self.deps_cpp_info["Catch2"].rootpath, "licenses", "LICENSE.txt…
/external/google-fruit/
Dconanfile.py53 self.deps_cpp_info["boost"].rootpath, "include")
/external/selinux/libselinux/include/selinux/
Dselinux.h544 extern int selinux_set_policy_root(const char *rootpath);
/external/icu/icu4c/source/tools/tzcode/
Dtz2icu.cpp1433 string rootpath, zonetab, version; in main() local
1438 rootpath = argv[1]; in main()
1485 scandir(rootpath); in main()
1487 cerr << "Error: While scanning " << rootpath << ": " << error.what() << endl; in main()
/external/autotest/client/cros/power/
Dpower_status.py172 def __init__(self, rootpath=None): argument
173 if not rootpath:
174 rootpath = self.path
175 for subpath1 in glob.glob('%s/hwmon*' % rootpath):
188 super(ThermalStatHwmon, self).__init__(self.thermal_fields, rootpath)