sepolicy: qti: Introduce rw_dir_file() macro and use wherever possible

Change-Id: Iec8a7f18c75a994032792421172fea92e9595af6
This commit is contained in:
LuK1337
2022-06-29 13:19:10 +02:00
parent 67c51391b7
commit 6f35c7a779
11 changed files with 21 additions and 32 deletions

View File

@@ -5,9 +5,7 @@ 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;
rw_dir_file(tri-state-key-calibrate, vendor_proc_tri_state_key)
r_dir_file(tri-state-key-calibrate, vendor_persist_engineer_file)