diff options
author | Joshua Brindle <jbrindle@tresys.com> | 2012-07-10 10:22:36 -0400 |
---|---|---|
committer | Joshua Brindle <jbrindle@tresys.com> | 2012-07-10 11:02:01 -0400 |
commit | 365861e3aae9cccdb19b8d4ee375c57e0a431f1e (patch) | |
tree | 7684a611694772d9322ef44b138e316542482665 /cmds/installd | |
parent | 13a3a87fa7264df29a1f698ce80ada2de3561962 (diff) | |
download | frameworks_base-365861e3aae9cccdb19b8d4ee375c57e0a431f1e.zip frameworks_base-365861e3aae9cccdb19b8d4ee375c57e0a431f1e.tar.gz frameworks_base-365861e3aae9cccdb19b8d4ee375c57e0a431f1e.tar.bz2 |
s/LOG/ALOG/ in HAVE_SELINUX blocks
The latest push changed LOG(E|V) to ALOG(E|V) but it was not updated in HAVE_SELINUX blocks.
Change-Id: I626588589dd00775ba29f2a256ac29e481598dc3
Signed-off-by: Joshua Brindle <jbrindle@tresys.com>
Diffstat (limited to 'cmds/installd')
-rw-r--r-- | cmds/installd/commands.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c index 1bb4935..8b11d02 100644 --- a/cmds/installd/commands.c +++ b/cmds/installd/commands.c @@ -78,7 +78,7 @@ int install(const char *pkgname, uid_t uid, gid_t gid) #ifdef HAVE_SELINUX if (selinux_android_setfilecon(libdir, pkgname, AID_SYSTEM) < 0) { - LOGE("cannot setfilecon dir '%s': %s\n", libdir, strerror(errno)); + ALOGE("cannot setfilecon dir '%s': %s\n", libdir, strerror(errno)); unlink(libdir); unlink(pkgdir); return -errno; @@ -94,7 +94,7 @@ int install(const char *pkgname, uid_t uid, gid_t gid) #ifdef HAVE_SELINUX if (selinux_android_setfilecon(pkgdir, pkgname, uid) < 0) { - LOGE("cannot setfilecon dir '%s': %s\n", pkgdir, strerror(errno)); + ALOGE("cannot setfilecon dir '%s': %s\n", pkgdir, strerror(errno)); unlink(libdir); unlink(pkgdir); return -errno; @@ -201,7 +201,7 @@ int make_user_data(const char *pkgname, uid_t uid, uid_t persona) #ifdef HAVE_SELINUX if (selinux_android_setfilecon(pkgdir, pkgname, uid) < 0) { - LOGE("cannot setfilecon dir '%s': %s\n", pkgdir, strerror(errno)); + ALOGE("cannot setfilecon dir '%s': %s\n", pkgdir, strerror(errno)); unlink(pkgdir); return -errno; } @@ -405,7 +405,7 @@ int protect(char *pkgname, gid_t gid) #ifdef HAVE_SELINUX if (selinux_android_setfilecon(pkgpath, pkgname, s.st_uid) < 0) { - LOGE("cannot setfilecon dir '%s': %s\n", pkgpath, strerror(errno)); + ALOGE("cannot setfilecon dir '%s': %s\n", pkgpath, strerror(errno)); return -1; } #endif |