universal7580: sepolicy: correctly label the FRP partition
authorDanny Wood <danwood76@gmail.com>
Fri, 29 Nov 2019 11:35:50 +0000 (11:35 +0000)
committerDanny Wood <danwood76@gmail.com>
Tue, 10 Mar 2020 15:25:57 +0000 (15:25 +0000)
Change-Id: I44e916ec77d2bc75a9b705b1b198dfc17f722e78

sepolicy/file_contexts
sepolicy/system_server.te

index 863dec55338fae002610ceed8e54c366b2129075..0c4ccf19d846fa882b185421d93f163e40da43a4 100644 (file)
@@ -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
index 19e3bb4116a60d900b252140f17bf347c3628105..fbec1c27f31315a9cd673e1fe5b4337a7f8e5942 100644 (file)
@@ -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;