Sync with device/google/zuma-sepolicy a89fbcc4aa1ae
fix build breakage: device/google/zumapro-sepolicy/legacy/whitechapel_pro/file.te:4:ERROR 'Duplicate declaration of type' at token ';' on line 104436: type tcpdump_vendor_data_file, file_type, data_file_type; type updated_wifi_firmware_data_file, file_type, data_file_type; Bug: 272725898 Change-Id: Ic17d18409c28760d172a4ee7a5beb6c90016a381
This commit is contained in:
parent
129741a269
commit
30ab759177
59 changed files with 160 additions and 175 deletions
21
vendor/google_camera_app.te
vendored
21
vendor/google_camera_app.te
vendored
|
@ -1,15 +1,24 @@
|
|||
type google_camera_app, domain, coredomain;
|
||||
app_domain(google_camera_app)
|
||||
net_domain(google_camera_app)
|
||||
|
||||
# Allows camera app to access the GXP device.
|
||||
allow google_camera_app app_api_service:service_manager find;
|
||||
allow google_camera_app audioserver_service:service_manager find;
|
||||
allow google_camera_app cameraserver_service:service_manager find;
|
||||
allow google_camera_app mediaextractor_service:service_manager find;
|
||||
allow google_camera_app mediametrics_service:service_manager find;
|
||||
allow google_camera_app mediaserver_service:service_manager find;
|
||||
|
||||
# Allows GCA to acccess the GXP device and search for the firmware file.
|
||||
allow google_camera_app gxp_device:chr_file rw_file_perms;
|
||||
allow google_camera_app vendor_fw_file:dir search;
|
||||
|
||||
# Allows camera app to access the PowerHAL.
|
||||
# Allows GCA to access the PowerHAL.
|
||||
hal_client_domain(google_camera_app, hal_power)
|
||||
|
||||
# Allow camera app to access the a subset of app services.
|
||||
allow google_camera_app app_api_service:service_manager find;
|
||||
|
||||
# Allows GCA to access the EdgeTPU device.
|
||||
# Allows GCA to find and access the EdgeTPU.
|
||||
allow google_camera_app edgetpu_app_service:service_manager find;
|
||||
allow google_camera_app edgetpu_device:chr_file { getattr read write ioctl map };
|
||||
|
||||
# Library code may try to access vendor properties, but should be denied
|
||||
dontaudit google_camera_app vendor_default_prop:file { getattr map open };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue