From 910a35594761f078fa50d8586d165575f1ee7a6e Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 7 Mar 2016 13:53:53 -0800 Subject: [PATCH] Use ulimit -p rather than prlimit. Neither is standard, but ulimit is toybox and therefore a bit more regular and at least has help text. Change-Id: Id7ba9adc9ca256b821d8060506010abef30dee28 --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index deb6e92b9..b1aab34f7 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -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