Home | History | Annotate | Download | only in installd

Lines Matching defs:idmap

81 static constexpr const char *kIdMapPath = "/system/bin/idmap";
83 static constexpr const char* IDMAP_SUFFIX = "@idmap";
1995 PLOG(ERROR) << "idmap open failed: " << idmap_path;
2005 LOG(ERROR) << "setgid(" << uid << ") failed during idmap";
2009 LOG(ERROR) << "setuid(" << uid << ") failed during idmap";
2013 PLOG(ERROR) << "flock(" << idmap_path << ") failed during idmap";
2018 exit(1); /* only if exec call to deleting stale idmap failed */
2024 // Failed on verifying if idmap is made from target_apk and overlay_apk.
2025 LOG(DEBUG) << "delete stale idmap: " << idmap_path;
2034 // eg /a/b/c.apk to /data/resource-cache/a@b@c.apk@idmap
2068 binder::Status InstalldNativeService::idmap(const std::string& targetApkPath,
2075 ALOGV("idmap target_apk=%s overlay_apk=%s uid=%d\n", target_apk, overlay_apk, uid);
2084 ALOGE("idmap cannot generate idmap path for overlay %s\n", overlay_apk);
2101 ALOGE("idmap cannot open '%s' for output: %s\n", idmap_path, strerror(errno));
2105 ALOGE("idmap cannot chown '%s'\n", idmap_path);
2109 ALOGE("idmap cannot chmod '%s'\n", idmap_path);
2123 ALOGE("setgid(%d) failed during idmap\n", uid);
2127 ALOGE("setuid(%d) failed during idmap\n", uid);
2131 ALOGE("flock(%s) failed during idmap: %s\n", idmap_path, strerror(errno));
2136 exit(1); /* only if exec call to idmap failed */
2140 ALOGE("idmap failed, status=0x%04x\n", status);
2161 ALOGE("idmap cannot generate idmap path for overlay %s\n", overlay_apk);
2165 ALOGE("couldn't unlink idmap file %s\n", idmap_path);