Merge "Use ulimit -p rather than prlimit."

This commit is contained in:
Elliott Hughes 2016-03-07 22:10:44 +00:00 committed by Gerrit Code Review
commit 74d4d98be1
1 changed files with 1 additions and 1 deletions

View File

@ -1029,7 +1029,7 @@ function coredump_enable()
return;
fi;
echo "Setting core limit for $PID to infinite...";
adb shell prlimit $PID 4 -1 -1
adb shell /system/bin/ulimit -p $PID -c unlimited
}
# core - send SIGV and pull the core for process