2020-01-18 09:29:32 +08:00
|
|
|
# ==============================================
|
|
|
|
# MTK Policy Rule
|
|
|
|
# ==============================================
|
|
|
|
|
|
|
|
# Purpose: access for SYS_MEMORY_INFO
|
|
|
|
allow dumpstate fuse:dir { w_dir_perms };
|
|
|
|
allow dumpstate fuse:file { write create open setattr append };
|
|
|
|
|
|
|
|
# Purpose: mnt/user/*
|
|
|
|
allow dumpstate mnt_user_file:dir search;
|
|
|
|
allow dumpstate mnt_user_file:lnk_file read;
|
|
|
|
|
|
|
|
# Purpose: /storage/*
|
|
|
|
allow dumpstate storage_file:lnk_file read;
|
|
|
|
|
|
|
|
# Purpose: timer_intval. this is neverallow
|
2020-01-18 09:29:36 +08:00
|
|
|
#allow dumpstate sysfs:file r_file_perms;
|
2020-01-18 09:29:32 +08:00
|
|
|
allow dumpstate app_data_file:dir search;
|
|
|
|
allow dumpstate kmsg_device:chr_file r_file_perms;
|
|
|
|
|
|
|
|
# Purpose:
|
|
|
|
# 01-01 18:00:35.600 7723 7723 I ps : type=1400 audit(0.0:63712): avc:
|
|
|
|
# denied { ioctl } for path="/storage/emulated/0/mtklog/aee_exp/temp/db.PQtNt4/
|
|
|
|
# SYS_ALL_THREADS" dev="fuse" ino=209 ioctlcmd=5401 scontext=u:r:dumpstate:s0
|
|
|
|
# tcontext=u:object_r:fuse:s0 tclass=file permissive=1
|
|
|
|
allow dumpstate fuse:file ioctl;
|
|
|
|
|
|
|
|
# Purpose:
|
|
|
|
# 01-01 17:59:14.440 7664 7664 I aee_dumpstate: type=1400 audit(0.0:63497):
|
|
|
|
# avc: denied { open } for path="/sys/kernel/debug/tracing/tracing_on" dev=
|
|
|
|
# "debugfs" ino=2087 scontext=u:r:dumpstate:s0 tcontext=u:object_r:
|
|
|
|
# tracing_shell_writable:s0 tclass=file permissive=1
|
|
|
|
allow dumpstate debugfs_tracing:file { write read open };
|
|
|
|
allow dumpstate tracing_shell_writable:file { write read open };
|
|
|
|
|
|
|
|
# Data : WK17.03
|
|
|
|
# Purpose: Allow to access gpu
|
|
|
|
allow dumpstate gpu_device:dir search;
|
|
|
|
|
|
|
|
# Date: 2017/07/11
|
|
|
|
# Purpose: 01-01 08:30:57.474 286 286 E SELinux : avc: denied { find } for interface=
|
|
|
|
# android.hardware.camera.provider::ICameraProvider pid=3133 scontext=u:r:dumpstate:s0 tcontext=
|
|
|
|
# u:object_r:hal_camera_hwservice:s0 tclass=hwservice_manager
|
|
|
|
allow dumpstate hal_camera_hwservice:hwservice_manager find;
|