Lines Matching refs:errno
61 ALOGE("cannot create dir '%s': %s\n", pkgdir, strerror(errno)); in install()
65 ALOGE("cannot chmod dir '%s': %s\n", pkgdir, strerror(errno)); in install()
71 if (errno != ENOENT) { in install()
72 ALOGE("couldn't stat lib dir: %s\n", strerror(errno)); in install()
90 ALOGE("cannot setfilecon dir '%s': %s\n", pkgdir, strerror(errno)); in install()
93 return -errno; in install()
98 strerror(errno)); in install()
104 ALOGE("cannot chown dir '%s': %s\n", pkgdir, strerror(errno)); in install()
137 ALOGE("cannot rename dir '%s' to '%s': %s\n", oldpkgdir, newpkgdir, strerror(errno)); in renamepkg()
138 return -errno; in renamepkg()
167 ALOGE("cannot chmod dir '%s': %s\n", pkgdir, strerror(errno)); in fix_uid()
169 return -errno; in fix_uid()
172 ALOGE("cannot chown dir '%s': %s\n", pkgdir, strerror(errno)); in fix_uid()
174 return -errno; in fix_uid()
211 ALOGE("cannot create dir '%s': %s\n", pkgdir, strerror(errno)); in make_user_data()
212 return -errno; in make_user_data()
215 ALOGE("cannot chmod dir '%s': %s\n", pkgdir, strerror(errno)); in make_user_data()
217 return -errno; in make_user_data()
221 if (errno != ENOENT) { in make_user_data()
222 ALOGE("couldn't stat lib dir for non-primary: %s\n", strerror(errno)); in make_user_data()
245 ALOGE("cannot setfilecon dir '%s': %s\n", pkgdir, strerror(errno)); in make_user_data()
248 return -errno; in make_user_data()
253 applibdir, strerror(errno)); in make_user_data()
259 ALOGE("cannot chown dir '%s': %s\n", pkgdir, strerror(errno)); in make_user_data()
262 return -errno; in make_user_data()
322 if (lstat(codecachedir, &s) == -1 && errno == ENOENT) { in delete_code_cache()
439 ALOGE("Couldn't move %s: %s\n", src_dex, strerror(errno)); in move_dex()
459 if (errno != ENOENT) { in rm_dex()
460 ALOGE("Couldn't unlink %s: %s\n", dex_path, strerror(errno)); in rm_dex()
646 ALOGE("execl(%s) failed: %s\n", DEX_OPT_BIN, strerror(errno)); in run_dexopt()
686 ALOGE("execv(%s) failed: %s\n", PATCHOAT_BIN, strerror(errno)); in run_patchoat()
834 ALOGE("execl(%s) failed: %s\n", DEX2OAT_BIN, strerror(errno)); in run_dex2oat()
844 if (got_pid == -1 && errno == EINTR) { in wait_child()
852 (int) pid, (int) got_pid, strerror(errno)); in wait_child()
981 ALOGE("capset failed: %s\n", strerror(errno)); in dexopt()
985 ALOGE("set_sched_policy failed: %s\n", strerror(errno)); in dexopt()
989 ALOGE("flock(%s) failed: %s\n", out_path, strerror(errno)); in dexopt()
1046 ALOGW("Unable to make directory %s: %s\n", path, strerror(errno)); in mkinnerdirs()
1067 ALOGW("Unable to stat %s: %s\n", srcpath, strerror(errno)); in movefileordir()
1077 ALOGE("cannot chown %s: %s\n", dstpath, strerror(errno)); in movefileordir()
1083 srcpath, dstpath, strerror(errno)); in movefileordir()
1091 ALOGW("Unable to opendir %s: %s\n", srcpath, strerror(errno)); in movefileordir()
1277 UPDATE_COMMANDS_DIR_PREFIX, name, strerror(errno)); in movefiles()
1314 ALOGE("failed to chown '%s': %s\n", pkgdir, strerror(errno)); in linklib()
1319 ALOGE("linklib() 1: failed to chmod '%s': %s\n", pkgdir, strerror(errno)); in linklib()
1325 if (errno != ENOENT) { in linklib()
1326 ALOGE("couldn't stat lib dir: %s\n", strerror(errno)); in linklib()
1338 ALOGE("couldn't unlink lib dir: %s\n", strerror(errno)); in linklib()
1347 strerror(errno)); in linklib()
1348 rc = -errno; in linklib()
1354 ALOGE("linklib() 2: failed to chmod '%s': %s\n", pkgdir, strerror(errno)); in linklib()
1355 rc = -errno; in linklib()
1359 ALOGE("failed to chown '%s' : %s\n", pkgdir, strerror(errno)); in linklib()
1360 return -errno; in linklib()
1375 ALOGE("execl(%s) failed: %s\n", IDMAP_BIN, strerror(errno)); in run_idmap()
1429 ALOGE("idmap cannot open '%s' for output: %s\n", idmap_path, strerror(errno)); in idmap()
1454 ALOGE("flock(%s) failed during idmap: %s\n", idmap_path, strerror(errno)); in idmap()
1502 ALOGE("restorecon failed for %s: %s\n", primarydir, strerror(errno)); in restorecon_data()
1546 ALOGE("restorecon failed for %s: %s\n", pkgdir, strerror(errno)); in restorecon_data()