summaryrefslogtreecommitdiffstats
path: root/debuggerd
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-02-13 00:19:47 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-13 00:19:47 +0000
commit3049f239156aebba51c7ac0e8112f96f4edf7b7a (patch)
tree08fa485ec49c88a0dcf78081436fe0fd6fbd5715 /debuggerd
parentb49443d1b67bff0d0426261f4f42c23264eff18b (diff)
parente41420bd8cbaa69f6eaca524b2412cb92a6d18a3 (diff)
downloadsystem_core-3049f239156aebba51c7ac0e8112f96f4edf7b7a.zip
system_core-3049f239156aebba51c7ac0e8112f96f4edf7b7a.tar.gz
system_core-3049f239156aebba51c7ac0e8112f96f4edf7b7a.tar.bz2
am e41420bd: am 488b5eaf: am 2e7347d6: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
* commit 'e41420bd8cbaa69f6eaca524b2412cb92a6d18a3': Convert all selinux_android_restorecon and _setfilecon calls to new API.
Diffstat (limited to 'debuggerd')
-rwxr-xr-xdebuggerd/tombstone.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/debuggerd/tombstone.cpp b/debuggerd/tombstone.cpp
index 58e7e5d..2319f37 100755
--- a/debuggerd/tombstone.cpp
+++ b/debuggerd/tombstone.cpp
@@ -726,7 +726,7 @@ char* engrave_tombstone(
LOG("failed to change ownership of %s: %s\n", TOMBSTONE_DIR, strerror(errno));
}
- if (selinux_android_restorecon(TOMBSTONE_DIR) == -1) {
+ if (selinux_android_restorecon(TOMBSTONE_DIR, 0) == -1) {
*detach_failed = false;
return NULL;
}