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

22
sepolicy/vendor/hal_camera_default.te vendored Normal file
View File

@@ -0,0 +1,22 @@
hal_client_domain(hal_camera_default, hal_cameraHIDL)
allow hal_camera_default mnt_vendor_file:dir w_dir_perms;
allow hal_camera_default mnt_vendor_file:file create_file_perms;
allow hal_camera_default oem_file:dir w_dir_perms;
allow hal_camera_default oem_file:file create_file_perms;
allow hal_camera_default vendor_persist_file:dir w_dir_perms;
allow hal_camera_default vendor_persist_file:file create_file_perms;
allow hal_camera_default input_device:dir r_dir_perms;
allow hal_camera_default input_device:chr_file r_file_perms;
allow hal_camera_default vl53l1_device:chr_file rw_file_perms;
allow hal_camera_default proc_meminfo:file r_file_perms;
allow hal_camera_default vendor_sysfs_video_call_on:file rw_file_perms;
get_prop(hal_camera_default, ctl_default_prop)
get_prop(hal_camera_default, vendor_db_security_prop)
get_prop(hal_camera_default, vendor_mmi_prop)