diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2017-07-20 16:55:06 -0700 |
---|---|---|
committer | Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> | 2018-03-29 22:27:23 +0200 |
commit | 06923403402cbc29c97e750a1b954397a8a719ba (patch) | |
tree | 6fea8d7a513a55917df38db2613a80c97307728c /sepolicy/file_contexts | |
parent | 348285c104b42b39c7692b5329372e0ca9dc40e5 (diff) |
label persist partition and grant e2fsck access
persist partition is mounted rw so it should be checked for errors.
Bug: 63874026
Test: build and flash, verify persist is correctly labeled and no
denials in the log.
Change-Id: I9bb57b5ed20bda0f6937d506bf9b9630365abd87
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r-- | sepolicy/file_contexts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 1e8efa3..87c04a0 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -22,9 +22,9 @@ /vendor/bin/hw/android\.hardware\.light@2\.0-service.zuk_8996 u:object_r:hal_light_default_exec:s0 # persist -/dev/block/mmcblk0p40 u:object_r:persist_block_device:s0 -/persist/rfs(/.*)? u:object_r:rfs_file:s0 -/persist/sensors/gyro_sensitity_cal u:object_r:sensors_persist_file:s0 +/dev/block/platform/soc/(624000\.ufshc|7464900\.sdhci)/by-name/persist u:object_r:persist_block_device:s0 +/persist/rfs(/.*)? u:object_r:rfs_file:s0 +/persist/sensors/gyro_sensitity_cal u:object_r:sensors_persist_file:s0 # readmac /vendor/bin/readmac u:object_r:readmac_exec:s0 |