You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
2.0 KiB
67 lines
2.0 KiB
# ==============================================
|
|
# MTK Policy Rule for plat_private
|
|
# ==============================================
|
|
|
|
# Date : WK14.32
|
|
# Operation : Migration
|
|
# Purpose : For audio dump and log
|
|
allow audioserver sdcard_type:dir { w_dir_perms create };
|
|
allow audioserver sdcard_type:file create;
|
|
allow audioserver sdcard_type:dir remove_name;
|
|
allow audioserver sdcard_type:file unlink;
|
|
|
|
# Data : WK14.38
|
|
# Operation : Migration
|
|
# Purpose : for boot animation.
|
|
allow audioserver bootanim:binder { transfer call };
|
|
|
|
allow audioserver mtkbootanimation:binder { transfer call };
|
|
|
|
# Data : WK14.38
|
|
# Operation : Migration
|
|
# Purpose : dump for debug
|
|
allow audioserver sdcard_type:file append;
|
|
|
|
# Data : WK14.46
|
|
# Operation : Migration
|
|
# Purpose : for SMS app
|
|
allow audioserver radio_data_file:dir search;
|
|
allow audioserver radio_data_file:file open;
|
|
|
|
# Data : WK14.47
|
|
# Operation : Audio playback
|
|
# Purpose : Music as ringtone
|
|
allow audioserver radio:dir { search read };
|
|
allow audioserver radio:file r_file_perms;
|
|
|
|
# Data : WK14.47
|
|
# Operation : CTS
|
|
# Purpose : cts search strange app
|
|
allow audioserver untrusted_app:dir search;
|
|
|
|
# Date : WK15.34
|
|
# Operation : Migration
|
|
# Purpose: for camera middleware dump image buffer to sdcard & audio frameworks dump
|
|
allow audioserver storage_file:lnk_file {read write};
|
|
allow audioserver mnt_user_file:dir {write read search};
|
|
allow audioserver mnt_user_file:lnk_file {read write};
|
|
|
|
# Purpose: Dump debug info
|
|
allow audioserver kmsg_device:chr_file { open write };
|
|
allow audioserver media_rw_data_file:dir { create_dir_perms };
|
|
|
|
# Date : WK16.27
|
|
# Operation : Migration
|
|
# Purpose: tunning tool update parameters
|
|
allow audioserver media_rw_data_file:file { create_file_perms };
|
|
|
|
# Date : WK16.28
|
|
# Operation : Migration
|
|
# Purpose: Write audio dump files to external SDCard.
|
|
allow audioserver sdcard_type:file { create_file_perms };
|
|
allow audioserver storage_file:dir { r_dir_perms };
|
|
|
|
# Date : W18.01
|
|
# Add for turn on SElinux in enforcing mode
|
|
allow audioserver self:netlink_kobject_uevent_socket { read create };
|