Don't create tombstone directory. DO NOT MERGE
Partial backport of cf79748. Bug: http://b/26403620 Change-Id: I412889bfa331c96ad8e2ce6e0d66b54fb230e8c0
This commit is contained in:
parent
9515c23e16
commit
557749e55b
1 changed files with 0 additions and 8 deletions
|
|
@ -810,14 +810,6 @@ static int activity_manager_connect() {
|
|||
char* engrave_tombstone(pid_t pid, pid_t tid, int signal, uintptr_t abort_msg_address,
|
||||
bool dump_sibling_threads, bool quiet, bool* detach_failed,
|
||||
int* total_sleep_time_usec) {
|
||||
mkdir(TOMBSTONE_DIR, 0755);
|
||||
chown(TOMBSTONE_DIR, AID_SYSTEM, AID_SYSTEM);
|
||||
|
||||
if (selinux_android_restorecon(TOMBSTONE_DIR) == -1) {
|
||||
*detach_failed = false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int fd;
|
||||
char* path = find_and_open_tombstone(&fd);
|
||||
if (!path) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue