diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2019-01-09 20:37:46 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2019-01-09 20:41:49 +0800 |
commit | ad6612fc91fd5ac72e9bc253b6807e73ba246436 (patch) | |
tree | be1df4b260e495e6827905cf649635caf7bf6461 /hikey | |
parent | 1ad363562452dca3873074aef39f2ae4a6136e91 (diff) | |
download | hikey-ad6612fc91fd5ac72e9bc253b6807e73ba246436.tar.gz |
fstab.hikey: mount data with nosuid and nodev
as required by cts test defined here:
https://android.googlesource.com/platform/cts/+/master/tests/tests/permission/src/android/permission/cts/FileSystemPermissionTest.java#1000
Test: run cts -m CtsPermissionTestCases \
-t android.permission.cts.FileSystemPermissionTest#testDataMountedNoSuidNoDev
Change-Id: I162725a8c737bbc89b2dacaa634484258aa3cd95
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'hikey')
-rw-r--r-- | hikey/fstab.hikey | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hikey/fstab.hikey b/hikey/fstab.hikey index ef04e325..2a5cd3cb 100644 --- a/hikey/fstab.hikey +++ b/hikey/fstab.hikey @@ -4,6 +4,6 @@ # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK /dev/block/platform/soc/f723d000.dwmmc0/by-name/userdata /data f2fs discard,noatime,nosuid,nodev wait,check,fileencryption=software,quota -/dev/block/platform/soc/f723d000.dwmmc0/by-name/userdata /data ext4 discard,noatime,noauto_da_alloc,data=ordered,user_xattr,barrier=1 wait,formattable +/dev/block/platform/soc/f723d000.dwmmc0/by-name/userdata /data ext4 discard,noatime,noauto_da_alloc,nosuid,nodev,data=ordered,user_xattr,barrier=1 wait,formattable /devices/platform/soc/f723e000.dwmmc1/mmc_host/mmc* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata /devices/platform/soc/f72c0000.usb/usb* auto auto defaults voldmanaged=usbdisk:auto,encryptable=userdata |