Merge "mirrorlink: Add mirrorlink specific permissions"
This commit is contained in:
commit
905920ade9
2 changed files with 7 additions and 0 deletions
1
generic/vendor/kona/genfs_contexts
vendored
1
generic/vendor/kona/genfs_contexts
vendored
|
@ -37,6 +37,7 @@ genfscon sysfs /devices/platform/soc/soc:qcom,mdm0/subsys10/name u:object_r:sysf
|
|||
genfscon sysfs /devices/platform/soc/17300000.qcom,lpass/subsys2/name u:object_r:sysfs_ssr:s0
|
||||
genfscon sysfs /devices/platform/soc/8300000.qcom,turing/subsys3/name u:object_r:sysfs_ssr:s0
|
||||
genfscon sysfs /devices/platform/soc/188101c.qcom,spss/subsys5/name u:object_r:sysfs_ssr:s0
|
||||
genfscon sysfs /devices/platform/soc/a600000.ssusb/a600000.dwc3/udc/a600000.dwc3 u:object_r:sysfs_usb_controller:s0
|
||||
|
||||
#subsys nodes WLAN
|
||||
genfscon sysfs /devices/platform/soc/b0000000.qcom,cnss-qca6390/subsys10/name u:object_r:sysfs_ssr:s0
|
||||
|
|
|
@ -68,6 +68,9 @@ binder_call(mirrorlink, system_app);
|
|||
allow mirrorlink audio_device:chr_file rw_file_perms;
|
||||
allow mirrorlink audio_device:dir r_dir_perms;
|
||||
|
||||
# Allow access to /proc/asound/pcm file
|
||||
r_dir_file(mirrorlink, proc_asound)
|
||||
|
||||
# Allow a base set of permissions for mirrorlinkserver to be a client of graphics composer HAL.
|
||||
hal_client_domain(mirrorlink, hal_graphics_composer);
|
||||
|
||||
|
@ -85,6 +88,9 @@ allow mirrorlink sysfs_net:file r_file_perms;
|
|||
# Allow read access to EGL lib
|
||||
allow mirrorlink system_file:dir r_dir_perms;
|
||||
|
||||
# Allow read-write access to gpu device.
|
||||
allow mirrorlink gpu_device:chr_file rw_file_perms;
|
||||
|
||||
# Allow access to video encoder device.
|
||||
allow mirrorlink video_device:chr_file rw_file_perms;
|
||||
|
||||
|
|
Loading…
Reference in a new issue