Merge "[ALPS04428522] Add selinux policy for svp" into alps-trunk-q0.basic
Change-Id: I50b42e9a60dc1cfefa309a6c50e76dc337ba8853 MTK-Commit-Id: 6f772916ed73393a7854d683cb69ad7efe645be2
This commit is contained in:
commit
ffc22cbb24
@ -355,3 +355,7 @@ type sysfs_mmcblk, fs_type, sysfs_type;
|
||||
type aee_dipdebug_vendor_file, file_type, data_file_type;
|
||||
|
||||
type netd_socket, file_type, coredomain_socket;
|
||||
|
||||
# Date : WK19.27
|
||||
# Purpose: Android Migration for SVP
|
||||
type proc_m4u, fs_type, proc_type;
|
@ -128,3 +128,6 @@ genfscon sysfs /devices/platform/battery/Power_Off_Voltage u:object_r:sysfs_powe
|
||||
genfscon sysfs /devices/platform/battery/FG_daemon_disable u:object_r:sysfs_fg_disable:s0
|
||||
genfscon sysfs /devices/platform/battery/disable_nafg u:object_r:sysfs_dis_nafg:s0
|
||||
|
||||
# Date : WK19.27
|
||||
# Purpose: Android Migration for SVP
|
||||
genfscon proc /m4u u:object_r:proc_m4u:s0
|
@ -58,3 +58,6 @@ define(`JPG_BRIDGE_ENC_IO_CONFIG', `0x780c')
|
||||
define(`JPG_BRIDGE_ENC_IO_WAIT', `0x780d')
|
||||
define(`JPG_BRIDGE_ENC_IO_DEINIT', `0x780e')
|
||||
define(`JPG_BRIDGE_ENC_IO_START', `0x780f')
|
||||
#####################################
|
||||
# m4u_priv.h
|
||||
define(`MTK_M4U_T_SEC_INIT', `0x6732')
|
||||
|
@ -16,10 +16,9 @@ allow mediacodec Vcodec_device:chr_file rw_file_perms;
|
||||
# Operation : Migration
|
||||
# Purpose : VP & VR dump and debug
|
||||
allow mediacodec M4U_device_device:chr_file rw_file_perms;
|
||||
allow mediacodec proc:file {open read};
|
||||
allow mediacodec proc:file r_file_perms;
|
||||
allow mediacodec sysfs:file {read write open};
|
||||
allow mediacodec debugfs_binder:dir search;
|
||||
allow mediacodec proc:file { getattr ioctl };
|
||||
allow mediacodec MTK_SMI_device:chr_file { ioctl read open };
|
||||
allow mediacodec storage_file:lnk_file {read write open};
|
||||
allow mediacodec tmpfs:dir search;
|
||||
@ -143,3 +142,8 @@ set_prop(mediacodec, mtk_thermal_config_prop)
|
||||
allow mediacodec graphics_device:chr_file { ioctl open read };
|
||||
allow mediacodec graphics_device:dir search;
|
||||
|
||||
# Date : WK19.27
|
||||
# Purpose: Android Migration for SVP
|
||||
allow mediacodec proc_m4u:file r_file_perms;
|
||||
allowxperm mediacodec proc_m4u:file ioctl MTK_M4U_T_SEC_INIT;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user