Home | History | Annotate | Download | only in installd

Lines Matching defs:idmap_path

1381         const char *overlay_path, char *idmap_path, size_t N)
1383 if (overlay_path == NULL || idmap_path == NULL) {
1401 memset(idmap_path, 0, N);
1402 snprintf(idmap_path, N, "%s%s%s", prefix, overlay_path + 1, suffix);
1403 char *ch = idmap_path + len_idmap_root;
1418 char idmap_path[PATH_MAX];
1421 idmap_path, sizeof(idmap_path)) == -1) {
1426 unlink(idmap_path);
1427 idmap_fd = open(idmap_path, O_RDWR | O_CREAT | O_EXCL, 0644);
1429 ALOGE("idmap cannot open '%s' for output: %s\n", idmap_path, strerror(errno));
1433 ALOGE("idmap cannot chown '%s'\n", idmap_path);
1437 ALOGE("idmap cannot chmod '%s'\n", idmap_path);
1454 ALOGE("flock(%s) failed during idmap: %s\n", idmap_path, strerror(errno));
1473 unlink(idmap_path);