Sepolicy: Added rules for QTI HANA55 enablement
QTI policies for MHI node retrival Change-Id: I2a252638c1f167162954206d0ebfac390e1fa756
This commit is contained in:
parent
6037940f8c
commit
8885cd6d72
3 changed files with 7 additions and 1 deletions
4
generic/vendor/common/qti.te
vendored
4
generic/vendor/common/qti.te
vendored
|
@ -40,5 +40,7 @@ allow qti { vendor_shell_exec }:file rx_file_perms;
|
|||
#diag
|
||||
userdebug_or_eng(`
|
||||
diag_use(qti)
|
||||
allow qti sysfs_data:file r_file_perms;
|
||||
allow qti { sysfs_data sysfs_timestamp_switch} :file r_file_perms;
|
||||
')
|
||||
allow qti mhi_device:chr_file rw_file_perms;
|
||||
allow qti sysfs:dir r_dir_perms;
|
||||
|
|
1
generic/vendor/msmnile/file.te
vendored
1
generic/vendor/msmnile/file.te
vendored
|
@ -26,3 +26,4 @@
|
|||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
type sysfs_qdss_dev, sysfs_type, fs_type;
|
||||
type sysfs_mhi, sysfs_type, fs_type;
|
||||
|
|
3
generic/vendor/msmnile/genfs_contexts
vendored
3
generic/vendor/msmnile/genfs_contexts
vendored
|
@ -82,3 +82,6 @@ genfscon sysfs /devices/platform/soc/soc:qcom,mdm3/esoc0 u:object_r:sysfs_esoc:s
|
|||
|
||||
#hvdcp
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:qcom,usb-pdphy@1700/usbpd/usbpd0 u:object_r:sysfs_usbpd_device:s0
|
||||
|
||||
#mhi sysfs
|
||||
genfscon sysfs /bus/mhi/devices/0304_00.01.00_QMI1/mhi_uci u:object_r:sysfs_mhi:s0
|
||||
|
|
Loading…
Reference in a new issue