Merge "sepoliy_vndr: Added ipd seplolices"

This commit is contained in:
qctecmdr 2023-09-14 09:54:55 -07:00 committed by Gerrit - the friendly Code Review server
commit c390055c51
3 changed files with 10 additions and 0 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

@ -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 };