[ALPS03869840] P migration: Remove label aosp prop

[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
This commit is contained in:
Ju-Yi Cheng 2020-01-18 09:37:01 +08:00
parent bea2ef85fd
commit 80531326ac
7 changed files with 0 additions and 25 deletions

View File

@ -42,7 +42,5 @@ binder_call(hal_graphics_composer_default, mtk_hal_power)
# Date : WK17.32 # Date : WK17.32
# Operation : O Migration # Operation : O Migration
# Purpose: Allow to access property # Purpose: Allow to access property
set_prop(hal_graphics_composer_default, graphics_config_prop)
get_prop(hal_graphics_composer_default, graphics_config_prop)
set_prop(hal_graphics_composer_default, graphics_hwc_pid_prop) set_prop(hal_graphics_composer_default, graphics_hwc_pid_prop)
get_prop(hal_graphics_composer_default, graphics_hwc_pid_prop) get_prop(hal_graphics_composer_default, graphics_hwc_pid_prop)

View File

@ -154,7 +154,6 @@ type mtk_telephony_sensitive_prop, property_type;
type mtk_thermal_config_prop, property_type; type mtk_thermal_config_prop, property_type;
#=============allow composer set property ============================ #=============allow composer set property ============================
type graphics_config_prop, property_type;
type graphics_hwc_pid_prop, property_type; type graphics_hwc_pid_prop, property_type;
#============= mtkcam property ============================ #============= mtkcam property ============================

View File

@ -161,7 +161,6 @@ ro.mtk_md_mims_support u:object_r:mtk_telephony_sensitive_prop:s0
thermal.manager.data u:object_r:mtk_thermal_config_prop:s0 thermal.manager.data u:object_r:mtk_thermal_config_prop:s0
#=============allow composer set property ============================ #=============allow composer set property ============================
ro.sf.lcd_density u:object_r:graphics_config_prop:s0
debug.sf.hwc_pid u:object_r:graphics_hwc_pid_prop:s0 debug.sf.hwc_pid u:object_r:graphics_hwc_pid_prop:s0
#============= mtkcam property ============================ #============= mtkcam property ============================

View File

@ -6,10 +6,6 @@
# Purpose : allow shell to switch aee mode # Purpose : allow shell to switch aee mode
allow shell aee_aed:unix_stream_socket connectto; allow shell aee_aed:unix_stream_socket connectto;
# Date : WK17.34
# Purpose : allow shell to get density property
get_prop(shell, graphics_config_prop)
# Date : WK17.35 # Date : WK17.35
# Purpose : allow shell to dump the debugging information of camera hal. # Purpose : allow shell to dump the debugging information of camera hal.
allow shell hal_camera_hwservice:hwservice_manager { find }; allow shell hal_camera_hwservice:hwservice_manager { find };

View File

@ -36,11 +36,6 @@ allow surfaceflinger debugfs_ion:dir search;
# Purpose: Allow to access cmdq driver # Purpose: Allow to access cmdq driver
allow surfaceflinger mtk_cmdq_device:chr_file { read ioctl open }; allow surfaceflinger mtk_cmdq_device:chr_file { read ioctl open };
# Date : WK17.32
# Operation : O Migration
# Purpose: Allow to access property
get_prop(surfaceflinger, graphics_config_prop)
# Date : W17.39 # Date : W17.39
# Perform Binder IPC. # Perform Binder IPC.
binder_use(surfaceflinger) binder_use(surfaceflinger)

View File

@ -1,7 +0,0 @@
# ==============================================
# MTK Policy Rule
# ==============================================
# Date : 2017/08/10
# Purpose : Allow to access density property
get_prop(untrusted_app_all, graphics_config_prop)

View File

@ -10,8 +10,3 @@ allow zygote proc_ged:file {open read write ioctl getattr};
# Purpose: Allow to access gpu for memtrack functions # Purpose: Allow to access gpu for memtrack functions
allow zygote gpu_device:dir search; allow zygote gpu_device:dir search;
allow zygote gpu_device:chr_file { open read write ioctl getattr}; allow zygote gpu_device:chr_file { open read write ioctl getattr};
# Date : WK17.32
# Operation : O Migration
# Purpose: Allow to access property
get_prop(zygote, graphics_config_prop)