Add initial QTI SEPolicy for Oplus

Change-Id: Ib06cada5e7031d1f95976bf48a6a8475a835c9a4
This commit is contained in:
Alexander Koskovich
2022-04-11 23:12:38 -07:00
committed by LuK1337
parent d3d75f3ddd
commit eb50d7c01c
32 changed files with 304 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
type tri-state-key-calibrate, domain;
type tri-state-key-calibrate_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(tri-state-key-calibrate)
allow tri-state-key-calibrate vendor_toolbox_exec:file rx_file_perms;
allow tri-state-key-calibrate vendor_proc_tri_state_key:dir r_dir_perms;
allow tri-state-key-calibrate vendor_proc_tri_state_key:file w_file_perms;
allow tri-state-key-calibrate mnt_vendor_file:dir search;
r_dir_file(tri-state-key-calibrate, vendor_persist_engineer_file)