sm8250-common: sepolicy: Initial vendor sepolicy

Change-Id: I28ae7907209b5aae9806466556dc49639dd7c9e4
This commit is contained in:
LuK1337
2021-01-05 20:04:57 +01:00
parent 507155e7a5
commit f9c9767e3b
40 changed files with 588 additions and 0 deletions

14
sepolicy/vendor/vendor_init.te vendored Normal file
View File

@@ -0,0 +1,14 @@
allow vendor_init tmpfs:chr_file { read open };
allow vendor_init tmpfs:dir { create_dir_perms mounton };
allow vendor_init op2_file:file create_file_perms;
allow vendor_init proc_direct_swappiness:file w_file_perms;
allow vendor_init proc_hung_task:file w_file_perms;
allow vendor_init proc_swappiness:file w_file_perms;
allow vendor_init proc_watermark_boost_factor:file rw_file_perms;
get_prop(vendor_init, vendor_db_security_prop)
set_prop(vendor_init, vendor_oem_bluetooth_prop)
set_prop(vendor_init, vendor_oem_wifi_prop)
set_prop(vendor_init, vendor_persist_camera_prop)