commit | a94282c6598ed91e260b7bdf199ff3db7d6c5a92 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Tue Nov 04 11:17:20 2014 -0800 |
committer | Iliyan Malchev <malchev@google.com> | Wed Nov 05 05:03:45 2014 +0000 |
tree | 3b84d26e68702569ea1dcf9e08d1b4accf1eb0e0 | |
parent | af5de97b8a368aec05b598af951e83729c95b6dc [diff] |
Mount tmpfs on /cores Proper selinux labeling support for files on rootfs was never completely implemented. Instead of putting coredump files on rootfs, put them on tmpfs instead. See: http://www.mail-archive.com/seandroid-list@tycho.nsa.gov/msg01815.html Bug: 18227650 Change-Id: I2eeabee4fe1a14bfbf990a4a518d538d6b4b6e87
diff --git a/envsetup.sh b/envsetup.sh index ab34196..d80e95c 100644 --- a/envsetup.sh +++ b/envsetup.sh
@@ -911,6 +911,7 @@ sleep 1; adb wait-for-device; adb shell mkdir -p /cores; + adb shell mount -t tmpfs tmpfs /cores; adb shell chmod 0777 /cores; echo "Granting SELinux permission to dump in /cores...";