Home
last modified time | relevance | path

Searched refs:rootpathlen (Results 1 – 2 of 2) sorted by relevance

/external/kmod/testsuite/
Dpath.c38 static size_t rootpathlen; variable
55 if (len + rootpathlen > PATH_MAX * 2) { in trap_path()
60 memcpy(buf, rootpath, rootpathlen); in trap_path()
61 strcpy(buf + rootpathlen, path); in trap_path()
77 rootpathlen = strlen(rootpath); in get_rootpath()
/external/selinux/libselinux/src/
Dselinux_restorecon.c50 static int rootpathlen; variable
599 if (strncmp(rootpath, lookup_path, rootpathlen) != 0) { in restorecon_sb()
605 lookup_path += rootpathlen; in restorecon_sb()
1121 rootpathlen = len; in selinux_restorecon_set_alt_rootpath()