diff options
| author | Luis Hector Chavez <lhchavez@google.com> | 2018-02-14 08:35:01 -0800 |
|---|---|---|
| committer | Luis Hector Chavez <lhchavez@google.com> | 2018-02-14 12:55:48 -0800 |
| commit | 465c8f307f4506afca18cfb0d88cce433117e613 (patch) | |
| tree | da3e7f38df85e628fd0a805900aeb7a9758ab9f8 /rootdir | |
| parent | 5a33a4bff68b33580a5289ce2700bb3758bb0278 (diff) | |
| download | core-465c8f307f4506afca18cfb0d88cce433117e613.tar.gz core-465c8f307f4506afca18cfb0d88cce433117e613.tar.bz2 core-465c8f307f4506afca18cfb0d88cce433117e613.zip | |
init.rc: Add nodev,noexec,nosuid to /config
This change adds some additional flags to the /config mount. This is to
reduce the number of mounts with unnecessary privileges.
Bug: 73255020
Test: aosp_sailfish still boots
Test: CtsAppSecurityHostTestCases {ExternalStorageHostTest,StorageHostTest}
Change-Id: If3409d917cdf76a67ebfb7c4035a3ae8fee6189f
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/init.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index c7fdba9f1..b703ad0a9 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -85,7 +85,7 @@ on init mount tmpfs tmpfs /mnt mode=0755,uid=0,gid=1000 restorecon_recursive /mnt - mount configfs none /config + mount configfs none /config nodev noexec nosuid chmod 0770 /config/sdcardfs chown system package_info /config/sdcardfs |
