Merge "Use ulimit -p rather than prlimit."

am: 74d4d98be1

* commit '74d4d98be1156982a1ab9a26be1dac26ee4e51d1':
  Use ulimit -p rather than prlimit.
This commit is contained in:
Elliott Hughes 2016-03-07 22:17:37 +00:00 committed by android-build-merger
commit e9f81ac2cd

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