Merge c390055c51 on remote branch

Change-Id: I4544e72ece6079370098e226cf5a48678812ac64
This commit is contained in:
Linux Build Service Account 2023-09-22 03:35:52 -07:00
commit c4c9a1cb12
6 changed files with 14 additions and 2 deletions

View file

@ -215,3 +215,7 @@ genfscon sysfs /devices/platform/soc/994000.qcom,qup_uart/wakeup u:object_r:sysf
genfscon sysfs /devices/platform/soc/3000000.remoteproc-adsp/remoteproc/remoteproc1/3000000.remoteproc-adsp:glink-edge/3000000.remoteproc-adsp:glink-edge.adsp_apps.-1.-1/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/platform/soc/3000000.remoteproc-adsp/remoteproc/remoteproc0/3000000.remoteproc-adsp:glink-edge/3000000.remoteproc-adsp:glink-edge.adsp_apps.-1.-1/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/platform/soc/1c10000.qcom,pcie/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/platform/soc/988000.i2c/i2c-0/0-0010/near_res u:object_r:vendor_sysfs_ipd:s0
genfscon sysfs /devices/platform/soc/988000.i2c/i2c-0/0-0010/far_res u:object_r:vendor_sysfs_ipd:s0
genfscon sysfs /devices/platform/soc/988000.i2c/i2c-0/0-0010/near_ipd u:object_r:vendor_sysfs_ipd:s0
genfscon sysfs /devices/platform/soc/988000.i2c/i2c-0/0-0010/far_ipd u:object_r:vendor_sysfs_ipd:s0

View file

@ -6,3 +6,5 @@
#Allow Gnss HAL to access ril socket
allow vendor_hal_gnss_qti vendor_rild_socket:dir search;
unix_socket_connect(vendor_hal_gnss_qti, vendor_rild, rild)
# allows Gnss HAL to access ssgtzd socket
unix_socket_connect(vendor_hal_gnss_qti, vendor_ssgtzd, vendor_ssgtzd)

View file

@ -277,4 +277,4 @@ genfscon sysfs /devices/platform/soc/99c000.qcom,qup_uart/wakeup u:object_r:sysf
genfscon sysfs /devices/platform/soc/8a00000.remoteproc-wpss/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/platform/soc/3000000.remoteproc-adsp/remoteproc/remoteproc1/3000000.remoteproc-adsp:glink-edge/3000000.remoteproc-adsp:glink-edge.adsp_apps.-1.-1/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/platform/soc/3000000.remoteproc-adsp/remoteproc/remoteproc0/3000000.remoteproc-adsp:glink-edge/3000000.remoteproc-adsp:glink-edge.adsp_apps.-1.-1/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /kernel/camera/subparts_info u:object_r:vendor_sysfs_camera:s0

View file

@ -33,4 +33,4 @@ allowxperm hal_camera_default vendor_dmabuf_display_heap_device:chr_file ioctl D
allow hal_camera_default vendor_dmabuf_display_heap_device:chr_file r_file_perms;
allow hal_camera_default vendor_vm_cp_non_pixel_device:chr_file r_file_perms;
allow hal_camera_default vendor_vm_cp_pixel_device:chr_file r_file_perms;
allow hal_camera_default vendor_sysfs_camera:file r_file_perms;

View file

@ -39,3 +39,4 @@ type vendor_kx_file, file_type, vendor_file_type;
#calib file types
type vendor_calib_file, file_type, vendor_calib_file_type;
allow { vendor_calib_file }self:filesystem associate;
type vendor_sysfs_ipd, sysfs_type, fs_type;

View file

@ -7,3 +7,8 @@ allow vendor_qti_init_shell configfs:dir rw_dir_perms;
allow vendor_qti_init_shell configfs:dir create_dir_perms;
allow vendor_qti_init_shell configfs:file rw_file_perms;
allow vendor_qti_init_shell configfs:file create_file_perms;
#============= vendor_qti_init_shell ==============
allow vendor_qti_init_shell vendor_sysfs_ipd:file { write } ;
allow vendor_qti_init_shell vendor_calib_file:dir { getattr search };
allow vendor_qti_init_shell vendor_calib_file:file { getattr open read };