review bootdevice_sysdev
Bug: 196916111 Test: boot with bootdevice_sysdev labeled Change-Id: I938fe18718356bf4156bb55937528a1ca3e072fb
This commit is contained in:
parent
91d989bca4
commit
a90c8fe1b5
7 changed files with 4 additions and 8 deletions
|
@ -70,8 +70,6 @@ type sysfs_scsi_devices_0000, sysfs_type, fs_type;
|
|||
type debugfs_f2fs, debugfs_type, fs_type;
|
||||
type proc_f2fs, proc_type, fs_type;
|
||||
|
||||
type bootdevice_sysdev, dev_type;
|
||||
|
||||
# ZRam
|
||||
type per_boot_file, file_type, data_file_type, core_data_file_type;
|
||||
|
||||
|
|
|
@ -28,11 +28,6 @@
|
|||
# Wireless charger HAL
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.google\.wireless_charger@1\.3-service-vendor u:object_r:hal_wlc_exec:s0
|
||||
|
||||
#
|
||||
# Exynos Block Devices
|
||||
#
|
||||
/dev/sys/block/bootdevice(/.*)? u:object_r:bootdevice_sysdev:s0
|
||||
|
||||
#
|
||||
# Exynos Devices
|
||||
#
|
||||
|
|
|
@ -12,7 +12,6 @@ set_prop(vendor_init, vendor_thermal_prop)
|
|||
|
||||
allow vendor_init proc_dirty:file w_file_perms;
|
||||
allow vendor_init proc_sched:file write;
|
||||
allow vendor_init bootdevice_sysdev:file create_file_perms;
|
||||
|
||||
userdebug_or_eng(`
|
||||
set_prop(vendor_init, logpersistd_logging_prop)
|
||||
|
|
|
@ -13,6 +13,7 @@ type vendor_fw_file, vendor_file_type, file_type;
|
|||
# sysfs
|
||||
type sysfs_chosen, sysfs_type, fs_type;
|
||||
type sysfs_ota, sysfs_type, fs_type;
|
||||
type bootdevice_sysdev, dev_type;
|
||||
|
||||
# vendor extra images
|
||||
type modem_img_file, contextmount_type, file_type, vendor_file_type;
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
/dev/umts_rfs0 u:object_r:radio_device:s0
|
||||
/dev/umts_dm0 u:object_r:radio_device:s0
|
||||
/dev/umts_router u:object_r:radio_device:s0
|
||||
/dev/sys/block/bootdevice(/.*)? u:object_r:bootdevice_sysdev:s0
|
||||
/dev/socket/chre u:object_r:chre_socket:s0
|
||||
/dev/block/sda u:object_r:sda_block_device:s0
|
||||
/dev/block/platform/14700000\.ufs/by-name/abl_[ab] u:object_r:custom_ab_block_device:s0
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
allow vendor_init bootdevice_sysdev:file create_file_perms;
|
||||
|
||||
set_prop(vendor_init, vendor_cbd_prop)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue