Merge "Add gnss_device dev_type" am: d5a222d75a

Change-Id: I22cd588c4581f7f70e5c174a83edfc55ce0910fe
This commit is contained in:
Alistair Delva 2020-03-23 19:26:27 +00:00 committed by Automerger Merge Worker
commit 8e755ce345
4 changed files with 5 additions and 0 deletions

View file

@ -45,6 +45,7 @@
file_integrity_service
fwk_automotive_display_hwservice
gmscore_app
gnss_device
hal_can_bus_hwservice
hal_can_controller_hwservice
hal_identity_service

View file

@ -95,6 +95,7 @@
/dev/cgroup_info(/.*)? u:object_r:cgroup_rc_file:s0
/dev/fscklogs(/.*)? u:object_r:fscklogs:s0
/dev/fuse u:object_r:fuse_device:s0
/dev/gnss[0-9]+ u:object_r:gnss_device:s0
/dev/graphics(/.*)? u:object_r:graphics_device:s0
/dev/hw_random u:object_r:hw_random_device:s0
/dev/hwbinder u:object_r:hwbinder_device:s0

View file

@ -52,6 +52,7 @@ type tun_device, dev_type, mlstrustedobject;
type usbaccessory_device, dev_type, mlstrustedobject;
type usb_device, dev_type, mlstrustedobject;
type usb_serial_device, dev_type;
type gnss_device, dev_type;
type properties_device, dev_type;
type properties_serial, dev_type;
type property_info, dev_type;

View file

@ -3,3 +3,5 @@ hal_server_domain(hal_gnss_default, hal_gnss)
type hal_gnss_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_gnss_default)
allow hal_gnss_default gnss_device:chr_file rw_file_perms;