sm6150-common: sepolicy: Label cust, system and vendor block devices as system_block_device
Change-Id: Id230ee4893e67689e9162e834e9c7b9c5482c6c8
This commit is contained in:
parent
187d4ed71c
commit
ffd0ded683
3
sepolicy/vendor/device.te
vendored
3
sepolicy/vendor/device.te
vendored
@ -1 +1,4 @@
|
||||
# Block devices
|
||||
typeattribute system_block_device super_block_device_type;
|
||||
|
||||
type lirc_device, dev_type;
|
||||
|
8
sepolicy/vendor/file_contexts
vendored
8
sepolicy/vendor/file_contexts
vendored
@ -1,6 +1,14 @@
|
||||
# Audio
|
||||
/dev/socket/audio_hw_socket u:object_r:audio_socket:s0
|
||||
|
||||
# Block devices
|
||||
/dev/block/platform/soc/1d84000\.ufshc/by-name/cust u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/1d84000\.ufshc/by-name/system u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/1d84000\.ufshc/by-name/vendor u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/7c4000\.sdhci/by-name/cust u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/7c4000\.sdhci/by-name/system u:object_r:system_block_device:s0
|
||||
/dev/block/platform/soc/7c4000\.sdhci/by-name/vendor u:object_r:system_block_device:s0
|
||||
|
||||
# Camera
|
||||
/mnt/vendor/persist/camera(/.*)? u:object_r:vendor_persist_camera_file:s0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user