Merge "[ALPS03825066] Resolve build error" into alps-trunk-p0.basic

Change-Id: I1ce2ce669828181b405fe640eda280592732d776
MTK-Commit-Id: b077564d3665292ca9d6cb3e9278450e5d46736e
This commit is contained in:
Bo Ye (叶波) 2020-01-18 09:38:56 +08:00 committed by Gerrit Code Review
commit a0c381a5c3
4 changed files with 21 additions and 19 deletions

View File

@ -18,7 +18,7 @@ allow em_svr misc_sd_device:chr_file { read open ioctl };
# Date: WK1812
# Purpose: add for battery log
allow em_svr proc_battery_cmd:dir { write search add_name };
allow em_svr proc_battery_cmd:dir { search };
allow em_svr proc_battery_cmd:file { create write open };
# Date: WK1812

View File

@ -48,19 +48,19 @@ type dbus_bluetooth_socket, file_type;
type bt_int_adp_socket, file_type;
type bt_a2dp_stream_socket, file_type;
type bt_data_file, file_type, data_file_type;
type proc_thermal, fs_type;
type proc_mtkcooler, fs_type;
type proc_mtktz, fs_type;
type proc_slogger, fs_type;
type proc_lk_env, fs_type;
type proc_ged, fs_type;
type proc_perfmgr, fs_type;
type proc_slabinfo, fs_type;
type proc_zraminfo, fs_type;
type proc_cpu_alignment, fs_type;
type proc_gpulog, fs_type;
type proc_sched_debug, fs_type;
type proc_hw_ver, fs_type;
type proc_thermal, fs_type, proc_type;
type proc_mtkcooler, fs_type, proc_type;
type proc_mtktz, fs_type, proc_type;
type proc_slogger, fs_type, proc_type;
type proc_lk_env, fs_type, proc_type;
type proc_ged, fs_type, proc_type;
type proc_perfmgr, fs_type, proc_type;
type proc_slabinfo, fs_type, proc_type;
type proc_zraminfo, fs_type, proc_type;
type proc_cpu_alignment, fs_type, proc_type;
type proc_gpulog, fs_type, proc_type;
type proc_sched_debug, fs_type, proc_type;
type proc_hw_ver, fs_type, proc_type;
type proc_atf_log, fs_type, proc_type;
type proc_gz_log, fs_type, proc_type;
type proc_last_kmsg, fs_type, proc_type;
@ -133,7 +133,7 @@ type rild_via_socket, file_type;
type rpc_socket, file_type;
type rild_ctclient_socket, file_type;
#For icusb
type proc_icusb, fs_type;
type proc_icusb, fs_type, proc_type;
# for labeling /mnt/cd-rom as iso9660
type iso9660, fs_type;
@ -164,10 +164,10 @@ type autokd_data_file, file_type, data_file_type;
type fuseblk,sdcard_type,fs_type,mlstrustedobject;
# for mt-ramdump reset
type proc_mrdump_rst, fs_type;
type proc_mrdump_rst, fs_type, proc_type;
# battery_cmd file
type proc_battery_cmd, fs_type;
type proc_battery_cmd, fs_type, proc_type;
# binder debugfs file
type debugfs_binder, fs_type, debugfs_type;

View File

@ -22,7 +22,6 @@ allow untrusted_app proc_mtktz:file r_file_perms;
# properly for thermal tests at OEM/ODM.
allow untrusted_app_25 proc_mtktz:dir search;
allow untrusted_app_25 proc_mtktz:file { getattr open read };
allow untrusted_app_25 proc_stat:file { getattr open read };
allow untrusted_app_25 proc_thermal:dir search;
allow untrusted_app_25 proc_thermal:file { getattr open read };

View File

@ -3,4 +3,7 @@
# ==============================================
# For drmserver
# Date: WK1812
# Operation : Migration
# Purpose : For drmserver
type access_sys_file, fs_type, sysfs_type;