Searched defs:dataPath (Results 1 - 1 of 1) sorted by last modified time

/system/core/run-as/
H A Dpackage.c187 check_data_path(const char* dataPath, uid_t uid) argument
192 if (dataPath[0] != '/') {
201 for (nn = 1; dataPath[nn] != '\0'; nn++)
206 if (dataPath[nn] != '/')
210 if (dataPath[nn+1] == '\0') {
214 /* found a separator, check that dataPath is not too long. */
222 dataPath[nn-3] == '/' &&
223 dataPath[nn-2] == '.' &&
224 dataPath[nn-1] == '.') {
230 memcpy(subpath, dataPath, n
[all...]

Completed in 3 milliseconds