Searched refs:pkgdir (Results 1 – 1 of 1) sorted by relevance
2454 const char* pkgdir = _pkgdir.c_str(); in linkNativeLibraryDirectory() local2457 if (stat(pkgdir, &s) < 0) { in linkNativeLibraryDirectory()2462 if (lgetfilecon(pkgdir, &con) < 0) { in linkNativeLibraryDirectory()2466 if (chown(pkgdir, AID_INSTALL, AID_INSTALL) < 0) { in linkNativeLibraryDirectory()2471 if (chmod(pkgdir, 0700) < 0) { in linkNativeLibraryDirectory()2507 if (chmod(pkgdir, s.st_mode) < 0) { in linkNativeLibraryDirectory()2516 if (chown(pkgdir, s.st_uid, s.st_gid) < 0) { in linkNativeLibraryDirectory()