Home
last modified time | relevance | path

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

/system/core/init/
Ddevices.cpp131 void fixup_sys_perms(const char *upath) in fixup_sys_perms() argument
143 if (strncmp(upath, dp->name + 4, strlen(dp->name + 4))) in fixup_sys_perms()
146 if (fnmatch(dp->name + 4, upath, FNM_PATHNAME) != 0) in fixup_sys_perms()
149 if (strcmp(upath, dp->name + 4)) in fixup_sys_perms()
153 if ((strlen(upath) + strlen(dp->attr) + 6) > sizeof(buf)) in fixup_sys_perms()
156 snprintf(buf, sizeof(buf), "/sys%s/%s", upath, dp->attr); in fixup_sys_perms()
163 int len = snprintf(buf, sizeof(buf), "/sys%s", upath); in fixup_sys_perms()