-rw-r--r-- | core_amlogic.mk | 17 | ||||
-rw-r--r-- | core_base_atv.mk | 64 | ||||
-rw-r--r-- | init.amlogic.wifi_buildin.rc | 1 | ||||
-rw-r--r-- | init.amlogic.wifi_buildin_ap62x8.rc | 1 | ||||
-rw-r--r-- | patch/Readme.txt | 12 | ||||
-rw-r--r-- | products/tv/init.amlogic.rc | 3 | ||||
-rw-r--r-- | products/tv/product_tv.mk | 5 | ||||
-rw-r--r-- | sepolicy/device.te | 3 | ||||
-rw-r--r-- | sepolicy/file.te | 7 | ||||
-rw-r--r-- | sepolicy/file_contexts | 22 | ||||
-rw-r--r-- | sepolicy/hal_audio_default.te | 1 | ||||
-rw-r--r-- | sepolicy/hal_graphics_composer_default.te | 4 | ||||
-rw-r--r-- | sepolicy/hal_tv_input_default.te | 6 | ||||
-rw-r--r-- | sepolicy/hwservice.te | 1 | ||||
-rw-r--r-- | sepolicy/hwservice_contexts | 4 | ||||
-rw-r--r-- | sepolicy/hwservicemanager.te | 5 | ||||
-rw-r--r-- | sepolicy/mediacodec.te | 2 | ||||
-rw-r--r-- | sepolicy/system_app.te | 8 | ||||
-rw-r--r-- | sepolicy/system_control.te | 15 | ||||
-rw-r--r-- | sepolicy/tvserver.te | 48 | ||||
-rw-r--r-- | wifi.mk | 7 | ||||
-rw-r--r-- | wifi_driver.mk | 8 | ||||
-rw-r--r-- | wifi_modules.mk | 1 |
23 files changed, 207 insertions, 38 deletions
diff --git a/sepolicy/system_control.te b/sepolicy/system_control.te index 7aa57f1..ef530e8 100644 --- a/sepolicy/system_control.te +++ b/sepolicy/system_control.te @@ -76,6 +76,8 @@ allow system_control block_device:dir r_dir_perms; allow system_control sysfs_audio_cap:file {open getattr read}; allow system_control sysfs_video:file rw_file_perms; +allow system_control { sysfs_video sysfs_cec sysfs_am_vecm }:dir { search }; + allow system_control app_data_file:file rw_file_perms; #allow system_control system_control_service:service_manager add; #allow system_control permission_service:service_manager find; @@ -98,9 +100,18 @@ allow system_control param_tv_file:file { create open read write setattr getattr allow system_control sysfs_digital_codec:file { read write }; #allow system_control system_file:file execute_no_trans; -allow system_control env_device:blk_file { getattr read open write }; +allow system_control { env_device cri_block_device }:blk_file { getattr read open write }; allow system_control self:capability sys_nice; allow system_control system_app:binder { call }; allow system_control droidvold_hwservice:hwservice_manager { find }; -allow system_control droidvold:binder { call };
\ No newline at end of file +allow system_control droidvold:binder { call }; + +allow system_control { video_device amvecm_device }:chr_file { read write open ioctl getattr }; + +allow system_control param_tv_file:dir { write search add_name create }; +allow system_control param_tv_file:file { create read write open getattr }; + +allow system_control vendor_configs_file:file { ioctl lock }; +allow system_control { sysfs_display_mode sysfs_am_vecm }:file { read write open getattr }; + |