sm8250-common: sepolicy: Label OEM /data top-level directories
Fixes boot up after booting once in permissive mode, alternatively that could be fixed by removing mkdir instructions in *.rc but I'd rather add couple SELinux lines than diverge from stock scripts. Change-Id: I32e4461745c6738a6c7579e5e93481d4186972f2
This commit is contained in:
parent
16c1dc83b2
commit
dfc13143a3
1 changed files with 1 additions and 3 deletions
4
sepolicy/vendor/file_contexts
vendored
4
sepolicy/vendor/file_contexts
vendored
|
@ -28,9 +28,7 @@
|
||||||
/dev/block/platform/soc/1d84000.ufshc/by-name/storsec_[ab] u:object_r:vendor_custom_ab_block_device:s0
|
/dev/block/platform/soc/1d84000.ufshc/by-name/storsec_[ab] u:object_r:vendor_custom_ab_block_device:s0
|
||||||
|
|
||||||
# Data files
|
# Data files
|
||||||
#/data/fpc_images(/.*)? u:object_r:fpc_images_file:s0
|
/data/reserve-lib(/.*)? u:object_r:apk_data_file:s0
|
||||||
#/data/vendor/oemnvitems/4678_0 u:object_r:wifi_nv_data_file:s0
|
|
||||||
#/data/vendor/oemnvitems/4678_1 u:object_r:wifi_nv_data_file:s0
|
|
||||||
|
|
||||||
# Devices
|
# Devices
|
||||||
/dev/byte-cntr u:object_r:byte_cntr_device:s0
|
/dev/byte-cntr u:object_r:byte_cntr_device:s0
|
||||||
|
|
Loading…
Reference in a new issue