path: root/rootdir/init.rc
diff options
authorNick Kralevich <>2016-11-19 12:09:33 -0800
committerNick Kralevich <>2016-12-07 13:00:33 +0000
commit04bbd5c6dd0455af43e96efbc45399bf6fd70d40 (patch)
tree6907f1e9ac308943c9fafecb34896617a4746a87 /rootdir/init.rc
parent7149e3e72a8838d413fddb98a36e9a104d7b413c (diff)
change /data/bugreports to /bugreports
It's 5 characters shorter, has no runtime costs, can be stored on a read-only partition, and avoids problems like b/27262109 and b/27204904. It allows makes some security hardening easier. (cherry picked from commit c4084c669495fd1b41ce8b6568c71b1f46d26969) Bug: 27262109 Bug: 27204904 Bug: 32799236 Test: verified new symlink created and old one not present Change-Id: Ief362e13569ad9c868a7f0f9c4dbd6a328c96c6b
Diffstat (limited to 'rootdir/init.rc')
1 files changed, 0 insertions, 4 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 3466dce0c..b1d21b211 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -414,10 +414,6 @@ on post-fs-data
mkdir /data/anr 0775 system system
- # symlink to bugreport storage location
- rm /data/bugreports
- symlink /data/user_de/0/ /data/bugreports
# Separate location for storing security policy files on data
mkdir /data/security 0711 system system