2018-02-01 02:15:13 +01:00
|
|
|
;; new_objects - a collection of types that have been introduced that have no
|
|
|
|
;; analogue in older policy. Thus, we do not need to map these types to
|
|
|
|
;; previous ones. Add here to pass checkapi tests.
|
2018-09-30 02:47:10 +02:00
|
|
|
(type new_objects)
|
2018-02-01 02:15:13 +01:00
|
|
|
(typeattribute new_objects)
|
|
|
|
(typeattributeset new_objects
|
2018-09-30 02:47:10 +02:00
|
|
|
( new_objects
|
|
|
|
activity_task_service
|
2018-05-31 00:26:41 +02:00
|
|
|
adb_service
|
2018-09-05 02:13:16 +02:00
|
|
|
app_binding_service
|
2018-08-17 09:35:42 +02:00
|
|
|
apex_data_file
|
2019-03-12 16:37:13 +01:00
|
|
|
apex_metadata_file
|
2018-08-17 09:35:42 +02:00
|
|
|
apex_mnt_dir
|
|
|
|
apex_service
|
|
|
|
apexd
|
|
|
|
apexd_exec
|
2018-11-01 12:05:20 +01:00
|
|
|
apexd_prop
|
2018-08-17 09:35:42 +02:00
|
|
|
apexd_tmpfs
|
2018-11-05 11:39:15 +01:00
|
|
|
app_zygote
|
2018-03-22 11:41:10 +01:00
|
|
|
atrace
|
2018-01-11 03:11:22 +01:00
|
|
|
binder_calls_stats_service
|
2018-09-21 05:32:32 +02:00
|
|
|
biometric_service
|
2018-01-25 08:12:39 +01:00
|
|
|
blank_screen
|
2018-02-01 02:15:13 +01:00
|
|
|
blank_screen_exec
|
|
|
|
blank_screen_tmpfs
|
|
|
|
bootloader_boot_reason_prop
|
2018-04-09 05:07:32 +02:00
|
|
|
bluetooth_a2dp_offload_prop
|
2018-02-01 02:15:13 +01:00
|
|
|
bpfloader
|
|
|
|
bpfloader_exec
|
|
|
|
cgroup_bpf
|
2018-09-08 00:05:33 +02:00
|
|
|
charger_exec
|
2018-08-18 03:47:47 +02:00
|
|
|
color_display_service
|
2018-12-04 02:35:05 +01:00
|
|
|
content_capture_service
|
2018-02-01 02:15:13 +01:00
|
|
|
crossprofileapps_service
|
2019-06-13 02:45:05 +02:00
|
|
|
ctl_apexd_prop
|
Finer grained permissions for ctl. properties
Currently, permissions for ctl. property apply to each action verb, so
if a domain has permissions for controlling service 'foo', then it can
start, stop, and restart foo.
This change implements finer grainer permissions such that permission
can be given to strictly start a given service, but not stop or
restart it. This new permission scheme is mandatory for the new
control functions, sigstop_on, sigstop_off, interface_start,
interface_stop, interface_restart.
Bug: 78511553
Test: see appropriate successes and failures based on permissions
Merged-In: Ibe0cc0d6028fb0ed7d6bcba626721e0d84cc20fa
Change-Id: Ibe0cc0d6028fb0ed7d6bcba626721e0d84cc20fa
(cherry picked from commit 2208f96e9e6264553fcc8a58b86f4f21a092468c)
2018-05-04 02:00:16 +02:00
|
|
|
ctl_interface_restart_prop
|
|
|
|
ctl_interface_start_prop
|
|
|
|
ctl_interface_stop_prop
|
|
|
|
ctl_sigstop_prop
|
2018-10-26 05:09:55 +02:00
|
|
|
device_config_boot_count_prop
|
2018-11-09 01:46:19 +01:00
|
|
|
device_config_reset_performed_prop
|
2018-12-27 11:01:25 +01:00
|
|
|
device_config_netd_native_prop
|
2019-02-25 13:12:15 +01:00
|
|
|
dnsresolver_service
|
2018-03-30 20:22:54 +02:00
|
|
|
exfat
|
2018-02-01 02:15:13 +01:00
|
|
|
exported2_config_prop
|
|
|
|
exported2_default_prop
|
|
|
|
exported2_radio_prop
|
|
|
|
exported2_system_prop
|
|
|
|
exported2_vold_prop
|
|
|
|
exported3_default_prop
|
2018-03-27 06:41:47 +02:00
|
|
|
exported3_radio_prop
|
2018-02-01 02:15:13 +01:00
|
|
|
exported3_system_prop
|
2018-06-20 23:08:02 +02:00
|
|
|
exported_audio_prop
|
2018-04-09 05:07:32 +02:00
|
|
|
exported_bluetooth_prop
|
2018-02-01 02:15:13 +01:00
|
|
|
exported_config_prop
|
|
|
|
exported_dalvik_prop
|
|
|
|
exported_default_prop
|
|
|
|
exported_dumpstate_prop
|
|
|
|
exported_ffs_prop
|
|
|
|
exported_fingerprint_prop
|
|
|
|
exported_overlay_prop
|
|
|
|
exported_pm_prop
|
|
|
|
exported_radio_prop
|
2018-03-16 00:10:37 +01:00
|
|
|
exported_secure_prop
|
2018-02-01 02:15:13 +01:00
|
|
|
exported_system_prop
|
|
|
|
exported_system_radio_prop
|
|
|
|
exported_vold_prop
|
2018-04-09 05:07:32 +02:00
|
|
|
exported_wifi_prop
|
2018-05-29 19:54:16 +02:00
|
|
|
fastbootd
|
2018-10-26 05:09:55 +02:00
|
|
|
flags_health_check
|
|
|
|
flags_health_check_exec
|
2018-02-07 18:45:39 +01:00
|
|
|
fingerprint_vendor_data_file
|
2018-02-01 02:15:13 +01:00
|
|
|
fs_bpf
|
2018-09-28 22:34:37 +02:00
|
|
|
fwk_stats_hwservice
|
2018-09-20 01:06:28 +02:00
|
|
|
hal_atrace_hwservice
|
2018-04-10 23:07:14 +02:00
|
|
|
hal_audiocontrol_hwservice
|
2018-02-01 02:15:13 +01:00
|
|
|
hal_authsecret_hwservice
|
2018-03-29 06:09:23 +02:00
|
|
|
hal_codec2_hwservice
|
2018-02-01 02:15:13 +01:00
|
|
|
hal_confirmationui_hwservice
|
2018-04-10 23:07:14 +02:00
|
|
|
hal_evs_hwservice
|
2018-09-19 19:24:45 +02:00
|
|
|
hal_health_storage_hwservice
|
2018-02-01 02:15:13 +01:00
|
|
|
hal_lowpan_hwservice
|
|
|
|
hal_secure_element_hwservice
|
|
|
|
hal_usb_gadget_hwservice
|
2018-04-10 23:07:14 +02:00
|
|
|
hal_vehicle_hwservice
|
2018-02-07 18:45:39 +01:00
|
|
|
hal_wifi_hostapd_hwservice
|
2018-10-15 19:02:02 +02:00
|
|
|
heapprofd
|
|
|
|
heapprofd_exec
|
|
|
|
heapprofd_socket
|
2018-02-01 02:15:13 +01:00
|
|
|
incident_helper
|
|
|
|
incident_helper_exec
|
2018-10-05 23:48:29 +02:00
|
|
|
iorapd
|
|
|
|
iorapd_data_file
|
|
|
|
iorapd_exec
|
|
|
|
iorapd_service
|
|
|
|
iorapd_tmpfs
|
2018-02-01 02:15:13 +01:00
|
|
|
last_boot_reason_prop
|
2018-02-20 20:02:39 +01:00
|
|
|
llkd
|
|
|
|
llkd_exec
|
2018-08-08 01:03:47 +02:00
|
|
|
llkd_prop
|
2018-02-20 20:02:39 +01:00
|
|
|
llkd_tmpfs
|
2018-08-30 14:04:55 +02:00
|
|
|
looper_stats_service
|
2018-02-01 02:15:13 +01:00
|
|
|
lowpan_device
|
|
|
|
lowpan_prop
|
|
|
|
lowpan_service
|
|
|
|
mediaextractor_update_service
|
2018-09-20 21:07:44 +02:00
|
|
|
mediaswcodec
|
|
|
|
mediaswcodec_exec
|
|
|
|
mediaswcodec_tmpfs
|
2019-05-23 21:49:42 +02:00
|
|
|
metadata_bootstat_file
|
2018-04-20 20:14:49 +02:00
|
|
|
metadata_file
|
2018-06-29 04:10:00 +02:00
|
|
|
mnt_product_file
|
2018-04-11 05:49:45 +02:00
|
|
|
mnt_vendor_file
|
2018-11-14 09:07:41 +01:00
|
|
|
network_stack
|
2018-12-14 06:13:52 +01:00
|
|
|
network_stack_service
|
2018-02-01 02:15:13 +01:00
|
|
|
network_watchlist_data_file
|
|
|
|
network_watchlist_service
|
2018-06-13 17:02:29 +02:00
|
|
|
overlayfs_file
|
2018-02-01 02:15:13 +01:00
|
|
|
perfetto
|
|
|
|
perfetto_exec
|
|
|
|
perfetto_tmpfs
|
|
|
|
perfetto_traces_data_file
|
|
|
|
property_info
|
2018-05-29 19:54:16 +02:00
|
|
|
recovery_socket
|
2018-11-09 02:37:45 +01:00
|
|
|
role_service
|
2019-01-08 01:37:24 +01:00
|
|
|
runas_app
|
2019-07-17 16:48:30 +02:00
|
|
|
art_apex_dir
|
2018-11-20 20:41:15 +01:00
|
|
|
runtime_service
|
2018-02-01 02:15:13 +01:00
|
|
|
secure_element
|
2018-03-06 23:26:34 +01:00
|
|
|
secure_element_device
|
2018-02-01 02:15:13 +01:00
|
|
|
secure_element_service
|
|
|
|
secure_element_tmpfs
|
2018-11-09 01:46:19 +01:00
|
|
|
server_configurable_flags_data_file
|
2019-01-11 00:34:08 +01:00
|
|
|
simpleperf_app_runner
|
|
|
|
simpleperf_app_runner_exec
|
2018-02-01 02:15:13 +01:00
|
|
|
slice_service
|
2020-02-10 10:43:15 +01:00
|
|
|
socket_hook_prop
|
2018-02-01 02:15:13 +01:00
|
|
|
stats
|
|
|
|
stats_data_file
|
|
|
|
stats_exec
|
|
|
|
stats_service
|
|
|
|
statscompanion_service
|
|
|
|
statsd
|
|
|
|
statsd_exec
|
|
|
|
statsd_tmpfs
|
2018-04-20 20:07:22 +02:00
|
|
|
statsdw
|
|
|
|
statsdw_socket
|
2018-02-01 02:15:13 +01:00
|
|
|
storaged_data_file
|
2018-08-17 20:07:09 +02:00
|
|
|
super_block_device
|
2019-01-02 15:20:52 +01:00
|
|
|
staging_data_file
|
2018-02-01 02:15:13 +01:00
|
|
|
system_boot_reason_prop
|
2019-03-14 18:45:33 +01:00
|
|
|
system_bootstrap_lib_file
|
2018-07-25 02:04:18 +02:00
|
|
|
system_lmk_prop
|
2018-02-01 02:15:13 +01:00
|
|
|
system_update_service
|
2020-04-01 03:01:16 +02:00
|
|
|
systemsound_config_prop
|
2015-10-25 01:20:18 +02:00
|
|
|
test_boot_reason_prop
|
2018-06-25 16:36:51 +02:00
|
|
|
time_prop
|
2018-05-30 15:44:47 +02:00
|
|
|
timedetector_service
|
2018-02-01 02:15:13 +01:00
|
|
|
tombstone_wifi_data_file
|
|
|
|
trace_data_file
|
|
|
|
traced
|
|
|
|
traced_consumer_socket
|
2018-04-20 20:09:45 +02:00
|
|
|
traced_enabled_prop
|
2018-02-01 02:15:13 +01:00
|
|
|
traced_exec
|
|
|
|
traced_probes
|
|
|
|
traced_probes_exec
|
|
|
|
traced_probes_tmpfs
|
|
|
|
traced_producer_socket
|
|
|
|
traced_tmpfs
|
|
|
|
traceur_app
|
|
|
|
traceur_app_tmpfs
|
2018-04-03 20:22:38 +02:00
|
|
|
untrusted_app_all_devpts
|
2018-02-01 02:15:13 +01:00
|
|
|
update_engine_log_data_file
|
2018-07-22 08:21:08 +02:00
|
|
|
uri_grants_service
|
2018-02-01 02:15:13 +01:00
|
|
|
usbd
|
|
|
|
usbd_exec
|
|
|
|
usbd_tmpfs
|
2019-04-24 03:45:40 +02:00
|
|
|
vendor_apex_file
|
2018-02-01 02:15:13 +01:00
|
|
|
vendor_default_prop
|
|
|
|
vendor_init
|
2018-03-30 03:21:31 +02:00
|
|
|
vendor_security_patch_level_prop
|
2018-02-01 02:15:13 +01:00
|
|
|
vendor_shell
|
2020-02-10 10:43:15 +01:00
|
|
|
vendor_socket_hook_prop
|
2020-01-06 06:35:57 +01:00
|
|
|
vndk_prop
|
2018-02-01 02:15:13 +01:00
|
|
|
vold_metadata_file
|
|
|
|
vold_prepare_subdirs
|
|
|
|
vold_prepare_subdirs_exec
|
|
|
|
vold_service
|
2018-07-14 02:17:01 +02:00
|
|
|
vrflinger_vsync_service
|
2018-05-09 00:45:38 +02:00
|
|
|
wait_for_keymaster
|
|
|
|
wait_for_keymaster_exec
|
|
|
|
wait_for_keymaster_tmpfs
|
2018-08-02 00:48:20 +02:00
|
|
|
watchdogd_tmpfs
|
2018-02-01 02:15:13 +01:00
|
|
|
wm_trace_data_file
|
|
|
|
wpantund
|
|
|
|
wpantund_exec
|
|
|
|
wpantund_service
|
|
|
|
wpantund_tmpfs))
|
|
|
|
|
2018-04-03 20:22:38 +02:00
|
|
|
;; private_objects - a collection of types that were labeled differently in
|
|
|
|
;; older policy, but that should not remain accessible to vendor policy.
|
|
|
|
;; Thus, these types are also not mapped, but recorded for checkapi tests
|
2018-09-30 02:47:10 +02:00
|
|
|
(type priv_objects)
|
2018-04-03 20:22:38 +02:00
|
|
|
(typeattribute priv_objects)
|
2018-09-30 02:47:10 +02:00
|
|
|
(typeattributeset priv_objects
|
|
|
|
( priv_objects
|
|
|
|
untrusted_app_27_tmpfs))
|