Skip to content

Commit

Permalink
Revert "init.rc: Create /storage mountpoint so Dalvik can mark as sla…
Browse files Browse the repository at this point in the history
…ve in zygotes"

No longer needed as Dalvik no longer marks /storage as slave in zygotes.

This reverts commit 4a8f70d.

Change-Id: I0bfb86f2cc10ccdc10daa7419ac4d252c8dfbae8
  • Loading branch information
mkasick committed Sep 3, 2013
1 parent 19b46a4 commit 4819663
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rootdir/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ on early-init

# create mountpoints
mkdir /mnt 0775 root system
mkdir /storage 0050 root sdcard_r
# Create mountpoint so Dalvik can mark as slave in zygotes.
mount tmpfs tmpfs /storage mode=0050,uid=0,gid=1028

# Allow system UID to setenforce and set booleans.
chown system system /selinux/enforce
Expand Down Expand Up @@ -73,7 +70,6 @@ loglevel 3

# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell 0700 shell shell
# Ensure permissions are set appropriately after device early-init.
mkdir /storage 0050 root sdcard_r

# Directory for putting things only root should see.
Expand Down

0 comments on commit 4819663

Please sign in to comment.