[Detail] Vendor partition shouldnt access aosp defined property which is not in whitlist. So remove the related changes of labeled aosp property. This reverts commit 9d534a80d67e7457a1411b8b36249898ed4c6986. This reverts commit 901fb42d2e3856a139b90420922f558d7231ea7d. This reverts commit 41dc8fb567b409e149e59f4f514268ca5883c7ab. [Solution] Remove label of ro.sf.lcd_density. MTK-Commit-Id: 02cf063b8407a9d9242f064c86767200e9c0ac0a Change-Id: I02dcc2fa3fda95c498f0ef70d9aa6bd9224d3b02 CR-Id: ALPS03869840 Feature: [Module]SurfaceFlinger/HWComposer
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
vndbinder_use(hal_graphics_composer_default)
|
|
|
|
allow hal_graphics_composer_default debugfs_ged:dir search;
|
|
#allow hal_graphics_composer_default debugfs_ion:dir search;
|
|
|
|
# Date : WK17.09
|
|
# Operation : Add sepolicy
|
|
# Purpose : Add polivy for hwc HIDL
|
|
|
|
allow hal_graphics_composer_default proc:file { read getattr open ioctl };
|
|
allow hal_graphics_composer_default proc_ged:file { read ioctl open };
|
|
allow hal_graphics_composer_default self:netlink_kobject_uevent_socket { read bind create setopt };
|
|
|
|
# Date : WK17.21
|
|
# Purpose: GPU driver required
|
|
allow hal_graphics_composer_default sw_sync_device:chr_file { read write open ioctl };
|
|
allow hal_graphics_composer_default hal_graphics_mapper_hwservice:hwservice_manager find;
|
|
|
|
# Date : W17.24
|
|
# Purpose: GPU driver required
|
|
allow hal_graphics_composer_default gpu_device:dir search;
|
|
|
|
#============= hal_graphics_composer_default ==============
|
|
allow hal_graphics_composer_default debugfs_ion:dir search;
|
|
|
|
#============= hal_graphics_composer_default ==============
|
|
allow hal_graphics_composer_default debugfs_tracing:file write;
|
|
|
|
#============= hal_graphics_composer_default ==============
|
|
allow hal_graphics_composer_default debugfs_tracing:file open;
|
|
|
|
# Date : WK17.30
|
|
# Operation : O Migration
|
|
# Purpose: Allow to access cmdq driver
|
|
allow hal_graphics_composer_default mtk_cmdq_device:chr_file { read ioctl open };
|
|
|
|
# Date : W17.30
|
|
# Add for control PowerHAL
|
|
allow hal_graphics_composer_default mtk_hal_power_hwservice:hwservice_manager find;
|
|
binder_call(hal_graphics_composer_default, mtk_hal_power)
|
|
|
|
# Date : WK17.32
|
|
# Operation : O Migration
|
|
# Purpose: Allow to access property
|
|
set_prop(hal_graphics_composer_default, graphics_hwc_pid_prop)
|
|
get_prop(hal_graphics_composer_default, graphics_hwc_pid_prop)
|