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
device_oneplus_sm7250-common/sepolicy/vendor/wifi-mac-generator.te
LuK1337 a56ed01f90 sm7250-common: Add wifi mac generator shell script
Change-Id: I95593db840dc4a668f899d248b2c8e03d4ebbc3e
2021-09-26 09:20:40 +02:00

13 lines
436 B
Plaintext

type wifi-mac-generator, domain;
type wifi-mac-generator_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(wifi-mac-generator)
allow wifi-mac-generator vendor_shell_exec:file rx_file_perms;
allow wifi-mac-generator vendor_toolbox_exec:file rx_file_perms;
r_dir_file(wifi-mac-generator, vendor_data_file)
allow wifi-mac-generator mnt_vendor_file:dir search;
allow wifi-mac-generator mnt_vendor_file:file w_file_perms;