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...";