Skip to content

Commit

Permalink
Merge "vold no longer does MS_MOVE; remove tmpfs." into klp-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jsharkey authored and Android (Google) Code Review committed Oct 18, 2013
2 parents 169c12b + 00c8e1a commit a9e453f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rootdir/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ loglevel 3

# Directory for putting things only root should see.
mkdir /mnt/secure 0700 root root
# Create private mountpoint so we can MS_MOVE from staging
mount tmpfs tmpfs /mnt/secure mode=0700,uid=0,gid=0

# Directory for staging bindmounts
mkdir /mnt/secure/staging 0700 root root
Expand Down Expand Up @@ -143,7 +141,6 @@ on post-fs
mount rootfs rootfs / ro remount
# mount shared so changes propagate into child namespaces
mount rootfs rootfs / shared rec
mount tmpfs tmpfs /mnt/secure private rec

# We chown/chmod /cache again so because mount is run as root + defaults
chown system cache /cache
Expand Down

0 comments on commit a9e453f

Please sign in to comment.