From: Danny Wood Date: Fri, 29 Nov 2019 11:35:50 +0000 (+0000) Subject: universal7580: sepolicy: correctly label the FRP partition X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bb9fe4ce90db915023a1b5fd028dd3b047f455cb;p=GitHub%2FLineageOS%2Fandroid_device_samsung_universal7580-common.git universal7580: sepolicy: correctly label the FRP partition Change-Id: I44e916ec77d2bc75a9b705b1b198dfc17f722e78 --- diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 863dec5..0c4ccf1 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -32,6 +32,7 @@ /dev/block/mmcblk0p10 u:object_r:boot_block_device:s0 /dev/block/mmcblk0p11 u:object_r:recovery_block_device:s0 /dev/block/mmcblk0p14 u:object_r:radio_block_device:s0 +/dev/block/mmcblk0p17 u:object_r:frp_block_device:s0 /dev/block/mmcblk0p20 u:object_r:system_block_device:s0 /dev/block/mmcblk0p21 u:object_r:cache_block_device:s0 /dev/block/mmcblk0p23 u:object_r:userdata_block_device:s0 diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te index 19e3bb4..fbec1c2 100644 --- a/sepolicy/system_server.te +++ b/sepolicy/system_server.te @@ -1,7 +1,3 @@ -# /dev/mbin0 -allow system_server emmcblk_device:dir search; -allow system_server emmcblk_device:blk_file rw_file_perms; - # /efs allow system_server efs_file:dir r_dir_perms;