This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hardware_oplus-CherishOS/sepolicy/qti/vendor/tri-state-key-calibrate.te
LuK1337 6f35c7a779 sepolicy: qti: Introduce rw_dir_file() macro and use wherever possible
Change-Id: Iec8a7f18c75a994032792421172fea92e9595af6
2022-07-11 09:35:09 +02:00

12 lines
419 B
Plaintext

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 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)