summaryrefslogtreecommitdiffstats
path: root/debuggerd
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-02-13 00:12:52 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-13 00:12:52 +0000
commite41420bd8cbaa69f6eaca524b2412cb92a6d18a3 (patch)
tree1088310aaf4413a1b2022e7775384f91d8a7e5be /debuggerd
parent28613a3c447d6ebdc30375ad5c6272c0c911e795 (diff)
parent488b5eafe368781077b367a9afd68db303bc8891 (diff)
downloadsystem_core-e41420bd8cbaa69f6eaca524b2412cb92a6d18a3.zip
system_core-e41420bd8cbaa69f6eaca524b2412cb92a6d18a3.tar.gz
system_core-e41420bd8cbaa69f6eaca524b2412cb92a6d18a3.tar.bz2
am 488b5eaf: am 2e7347d6: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
* commit '488b5eafe368781077b367a9afd68db303bc8891': 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 91d95fc..6a1b963 100755
--- a/debuggerd/tombstone.cpp
+++ b/debuggerd/tombstone.cpp
@@ -732,7 +732,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;
}