Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/setfiles/
Dsetfiles.c79 r_opts.rootpath = strdup(arg); in set_rootpath()
80 if (NULL == r_opts.rootpath) { in set_rootpath()
87 len = strlen(r_opts.rootpath); in set_rootpath()
88 while (len && ('/' == r_opts.rootpath[len - 1])) in set_rootpath()
89 r_opts.rootpath[--len] = 0; in set_rootpath()
170 r_opts.rootpath = NULL;
323 if (NULL != r_opts.rootpath) {
Drestore.h33 char *rootpath; member
Drestore.c88 if (NULL != r_opts->rootpath) { in match()
89 if (0 != strncmp(r_opts->rootpath, name, r_opts->rootpathlen)) { in match()
91 r_opts->progname, name, r_opts->rootpath); in match()
97 if (r_opts->rootpath != NULL && name[0] == '\0') in match()
/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/restorecond/
Drestorecond.c151 r_opts.rootpath = NULL; in main()
/external/autotest/client/cros/
Dpower_status.py138 def __init__(self, rootpath=None): argument
139 if not rootpath:
140 rootpath = self.path
141 for subpath1 in glob.glob('%s/hwmon*' % rootpath):
154 super(ThermalStatHwmon, self).__init__(self.thermal_fields, rootpath)
/external/selinux/libselinux/include/selinux/
Dselinux.h524 extern int selinux_set_policy_root(const char *rootpath);
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/
Dsetup.py707 for rootpath, dirnames, filenames in os.walk(root):
710 result.append(os.path.join(rootpath, fn))
/external/chromium-trace/catapult/telemetry/third_party/altgraph/
Dsetup.py707 for rootpath, dirnames, filenames in os.walk(root):
710 result.append(os.path.join(rootpath, fn))
/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/selinux/policycoreutils/
DChangeLog375 * fixfiles: correct usage for r_opts.rootpath