/external/libselinux/include/selinux/ |
android.h | 29 extern int selinux_android_setfilecon(const char *pkgdir, 44 extern int selinux_android_restorecon_pkgdir(const char *pkgdir,
|
/external/qemu/distrib/libselinux/include/selinux/ |
android.h | 27 extern int selinux_android_setfilecon(const char *pkgdir, 39 extern int selinux_android_restorecon_pkgdir(const char *pkgdir,
|
/frameworks/native/cmds/installd/ |
commands.c | 36 char pkgdir[PKG_PATH_MAX]; local 46 if (create_pkg_path(pkgdir, pkgname, PKG_DIR_POSTFIX, 0)) { 61 if (mkdir(pkgdir, 0751) < 0) { 62 ALOGE("cannot create dir '%s': %s\n", pkgdir, strerror(errno)); 65 if (chmod(pkgdir, 0751) < 0) { 66 ALOGE("cannot chmod dir '%s': %s\n", pkgdir, strerror(errno)); 67 unlink(pkgdir); 90 if (selinux_android_setfilecon(pkgdir, pkgname, seinfo, uid) < 0) { 91 ALOGE("cannot setfilecon dir '%s': %s\n", pkgdir, strerror(errno)); 93 unlink(pkgdir); 116 char pkgdir[PKG_PATH_MAX]; local 146 char pkgdir[PKG_PATH_MAX]; local 183 char pkgdir[PKG_PATH_MAX]; local 193 char pkgdir[PKG_PATH_MAX]; local 1373 char pkgdir[PKG_PATH_MAX]; local 1561 char *pkgdir; local [all...] |
installd.c | 98 /* pkgdir, userid, apkpath */
|
/external/libselinux/src/ |
android.c | 678 int selinux_android_setfilecon(const char *pkgdir, 691 rc = getfilecon(pkgdir, &ctx_str); 715 rc = setfilecon(pkgdir, ctx_str); 726 selinux_log(SELINUX_ERROR, "%s: Error setting context for pkgdir %s, uid %d: %s\n", 727 __FUNCTION__, pkgdir, uid, strerror(errno)); [all...] |
/external/qemu/distrib/libselinux/src/ |
android.c | 671 int selinux_android_setfilecon(const char *pkgdir, 684 rc = getfilecon(pkgdir, &ctx_str); 708 rc = setfilecon(pkgdir, ctx_str); 719 selinux_log(SELINUX_ERROR, "%s: Error setting context for pkgdir %s, uid %d: %s\n", 720 __FUNCTION__, pkgdir, uid, strerror(errno)); 1272 int selinux_android_restorecon_pkgdir(const char *pkgdir, 1277 return selinux_android_restorecon_common(pkgdir, seinfo, uid, flags | SELINUX_ANDROID_RESTORECON_DATADATA); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_pydoc.py | 336 pkgdir = os.path.join(TESTFN, "syntaxerr") 337 os.mkdir(pkgdir) 338 badsyntax = os.path.join(pkgdir, "__init__") + os.extsep + "py"
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_pydoc.py | 336 pkgdir = os.path.join(TESTFN, "syntaxerr") 337 os.mkdir(pkgdir) 338 badsyntax = os.path.join(pkgdir, "__init__") + os.extsep + "py"
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
gensuitemodule.py | 37 --output pkgdir Pathname of the output package (short: -o) [all...] |