android_device_samsung_msm8.../sepolicy/system_app.te
Deokgyu Yang 74087b8bb9 Update SEPolicy files from LineageOS/xiaomi_msm8996-common
Surely this is not perfect for gts3l boards

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ibdf84561980b6223be485579d330d9d8b3cdafb7
2021-05-13 00:29:11 +09:00

20 lines
857 B
Text

# Allow ConfigPanel to work
allow system_app proc_buttons:dir search;
allow system_app proc_buttons:file rw_file_perms;
allow system_app proc_touchpanel:dir search;
allow system_app proc_touchpanel:file rw_file_perms;
allow system_app sysfs_fpc_keyevents:file rw_file_perms;
allow system_app sysfs_fpc_wakeup:file rw_file_perms;
# Allow PocketMode to work
allow system_app sysfs_fpc_proximity:file rw_file_perms;
# Allow system_app to read and create files in cnd_core_data_file
allow system_app cnd_core_data_file:dir w_dir_perms;
allow system_app cnd_core_data_file:file create_file_perms;
# Allow system_app to read and create files in qfp-daemon_core_data_file
allow system_app qfp-daemon_core_data_file:dir create_dir_perms;
allow system_app qfp-daemon_core_data_file:file create_file_perms;
allow system_app qfp_proxy_service:service_manager add;