Sepolicy : Enable qce_device
Change-Id: Ibdb12124a8568759ba057ac6e7cce70c93a78889
This commit is contained in:
parent
ccdd1c9ed8
commit
0b9199016f
3 changed files with 3 additions and 0 deletions
1
generic/vendor/common/device.te
vendored
1
generic/vendor/common/device.te
vendored
|
@ -60,3 +60,4 @@ type synx_device, dev_type;
|
|||
type wlan_device, dev_type;
|
||||
type xbl_block_device, dev_type;
|
||||
type uefi_block_device, dev_type;
|
||||
type qce_device, dev_type;
|
1
generic/vendor/common/file_contexts
vendored
1
generic/vendor/common/file_contexts
vendored
|
@ -93,6 +93,7 @@
|
|||
/dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0
|
||||
/data/vendor/modem_config(/.*)? u:object_r:vendor_mbn_data_file:s0
|
||||
/dev/socket/qdcmsocket u:object_r:qdcmsocket_socket:s0
|
||||
/dev/qce u:object_r:qce_device:s0
|
||||
|
||||
# Block device holding the GPT, where the A/B attributes are stored.
|
||||
/dev/block/sda u:object_r:gpt_block_device:s0
|
||||
|
|
1
generic/vendor/common/hal_drm_widevine.te
vendored
1
generic/vendor/common/hal_drm_widevine.te
vendored
|
@ -34,6 +34,7 @@ init_daemon_domain(hal_drm_widevine)
|
|||
|
||||
allow hal_drm_widevine mediacodec:fd use;
|
||||
allow hal_drm_widevine { appdomain -isolated_app }:fd use;
|
||||
allow hal_drm_widevine qce_device:chr_file rw_file_perms;
|
||||
|
||||
# The QTI DRM-HAL implementation uses a vendor-binder service provided
|
||||
# by the HWC HAL.
|
||||
|
|
Loading…
Reference in a new issue