Skip to content
Snippets Groups Projects
Commit c01a7e19 authored by Sandeep Patil's avatar Sandeep Patil Committed by Android (Google) Code Review
Browse files

Merge "sepolicy: make exec_types in /vendor a subset of vendor_file_type" into oc-dev

parents 35d2a46a 2ee66e7d
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
# mediacodec - audio and video codecs live here # mediacodec - audio and video codecs live here
type mediacodec, domain; type mediacodec, domain;
type mediacodec_exec, exec_type, file_type; type mediacodec_exec, exec_type, vendor_file_type, file_type;
typeattribute mediacodec mlstrustedsubject; typeattribute mediacodec mlstrustedsubject;
......
type hal_audio_default, domain; type hal_audio_default, domain;
hal_server_domain(hal_audio_default, hal_audio) hal_server_domain(hal_audio_default, hal_audio)
type hal_audio_default_exec, exec_type, file_type; type hal_audio_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_audio_default) init_daemon_domain(hal_audio_default)
hal_client_domain(hal_audio_default, hal_allocator) hal_client_domain(hal_audio_default, hal_allocator)
......
type hal_bluetooth_default, domain; type hal_bluetooth_default, domain;
hal_server_domain(hal_bluetooth_default, hal_bluetooth) hal_server_domain(hal_bluetooth_default, hal_bluetooth)
type hal_bluetooth_default_exec, exec_type, file_type; type hal_bluetooth_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_bluetooth_default) init_daemon_domain(hal_bluetooth_default)
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
type hal_bootctl_default, domain; type hal_bootctl_default, domain;
hal_server_domain(hal_bootctl_default, hal_bootctl) hal_server_domain(hal_bootctl_default, hal_bootctl)
type hal_bootctl_default_exec, exec_type, file_type; type hal_bootctl_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_bootctl_default) init_daemon_domain(hal_bootctl_default)
type hal_camera_default, domain; type hal_camera_default, domain;
hal_server_domain(hal_camera_default, hal_camera) hal_server_domain(hal_camera_default, hal_camera)
type hal_camera_default_exec, exec_type, file_type; type hal_camera_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_camera_default) init_daemon_domain(hal_camera_default)
# TODO (b/36601397) move hal_camera's data file to # TODO (b/36601397) move hal_camera's data file to
......
type hal_configstore_default, domain; type hal_configstore_default, domain;
hal_server_domain(hal_configstore_default, hal_configstore) hal_server_domain(hal_configstore_default, hal_configstore)
type hal_configstore_default_exec, exec_type, file_type; type hal_configstore_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_configstore_default) init_daemon_domain(hal_configstore_default)
type hal_contexthub_default, domain; type hal_contexthub_default, domain;
hal_server_domain(hal_contexthub_default, hal_contexthub) hal_server_domain(hal_contexthub_default, hal_contexthub)
type hal_contexthub_default_exec, exec_type, file_type; type hal_contexthub_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_contexthub_default) init_daemon_domain(hal_contexthub_default)
type hal_drm_default, domain; type hal_drm_default, domain;
hal_server_domain(hal_drm_default, hal_drm) hal_server_domain(hal_drm_default, hal_drm)
type hal_drm_default_exec, exec_type, file_type; type hal_drm_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_drm_default) init_daemon_domain(hal_drm_default)
allow hal_drm_default mediacodec:fd use; allow hal_drm_default mediacodec:fd use;
......
type hal_dumpstate_default, domain; type hal_dumpstate_default, domain;
hal_server_domain(hal_dumpstate_default, hal_dumpstate) hal_server_domain(hal_dumpstate_default, hal_dumpstate)
type hal_dumpstate_default_exec, exec_type, file_type; type hal_dumpstate_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_dumpstate_default) init_daemon_domain(hal_dumpstate_default)
type hal_fingerprint_default, domain; type hal_fingerprint_default, domain;
hal_server_domain(hal_fingerprint_default, hal_fingerprint) hal_server_domain(hal_fingerprint_default, hal_fingerprint)
type hal_fingerprint_default_exec, exec_type, file_type; type hal_fingerprint_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_fingerprint_default) init_daemon_domain(hal_fingerprint_default)
# TODO (b/36644492) move hal_fingerprint's data file to # TODO (b/36644492) move hal_fingerprint's data file to
......
type hal_gatekeeper_default, domain; type hal_gatekeeper_default, domain;
hal_server_domain(hal_gatekeeper_default, hal_gatekeeper) hal_server_domain(hal_gatekeeper_default, hal_gatekeeper)
type hal_gatekeeper_default_exec, exec_type, file_type; type hal_gatekeeper_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_gatekeeper_default); init_daemon_domain(hal_gatekeeper_default);
type hal_gnss_default, domain; type hal_gnss_default, domain;
hal_server_domain(hal_gnss_default, hal_gnss) hal_server_domain(hal_gnss_default, hal_gnss)
type hal_gnss_default_exec, exec_type, file_type; type hal_gnss_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_gnss_default) init_daemon_domain(hal_gnss_default)
# Read access to system files for HALs in # Read access to system files for HALs in
......
type hal_graphics_allocator_default, domain; type hal_graphics_allocator_default, domain;
hal_server_domain(hal_graphics_allocator_default, hal_graphics_allocator) hal_server_domain(hal_graphics_allocator_default, hal_graphics_allocator)
type hal_graphics_allocator_default_exec, exec_type, file_type; type hal_graphics_allocator_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_graphics_allocator_default) init_daemon_domain(hal_graphics_allocator_default)
type hal_graphics_composer_default, domain; type hal_graphics_composer_default, domain;
hal_server_domain(hal_graphics_composer_default, hal_graphics_composer) hal_server_domain(hal_graphics_composer_default, hal_graphics_composer)
type hal_graphics_composer_default_exec, exec_type, file_type; type hal_graphics_composer_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_graphics_composer_default) init_daemon_domain(hal_graphics_composer_default)
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
type hal_health_default, domain; type hal_health_default, domain;
hal_server_domain(hal_health_default, hal_health) hal_server_domain(hal_health_default, hal_health)
type hal_health_default_exec, exec_type, file_type; type hal_health_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_health_default) init_daemon_domain(hal_health_default)
type hal_ir_default, domain; type hal_ir_default, domain;
hal_server_domain(hal_ir_default, hal_ir) hal_server_domain(hal_ir_default, hal_ir)
type hal_ir_default_exec, exec_type, file_type; type hal_ir_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_ir_default) init_daemon_domain(hal_ir_default)
type hal_keymaster_default, domain; type hal_keymaster_default, domain;
hal_server_domain(hal_keymaster_default, hal_keymaster) hal_server_domain(hal_keymaster_default, hal_keymaster)
type hal_keymaster_default_exec, exec_type, file_type; type hal_keymaster_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_keymaster_default) init_daemon_domain(hal_keymaster_default)
type hal_light_default, domain; type hal_light_default, domain;
hal_server_domain(hal_light_default, hal_light) hal_server_domain(hal_light_default, hal_light)
type hal_light_default_exec, exec_type, file_type; type hal_light_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_light_default) init_daemon_domain(hal_light_default)
type hal_memtrack_default, domain; type hal_memtrack_default, domain;
hal_server_domain(hal_memtrack_default, hal_memtrack) hal_server_domain(hal_memtrack_default, hal_memtrack)
type hal_memtrack_default_exec, exec_type, file_type; type hal_memtrack_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_memtrack_default) init_daemon_domain(hal_memtrack_default)
type hal_nfc_default, domain; type hal_nfc_default, domain;
hal_server_domain(hal_nfc_default, hal_nfc) hal_server_domain(hal_nfc_default, hal_nfc)
type hal_nfc_default_exec, exec_type, file_type; type hal_nfc_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_nfc_default) init_daemon_domain(hal_nfc_default)
# TODO (b/36645109) Remove hal_nfc's access to the nfc app's # TODO (b/36645109) Remove hal_nfc's access to the nfc app's
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment