Merge "Add 2 new system properties for Quick Start" into udc-dev am: 5fd77a4e68 am: ec3e029174

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/sepolicy/+/22872879

Change-Id: I981c52220d24c1fe9615266f1f717c5f946873bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jay Civelli 2023-05-04 17:55:28 +00:00 committed by Automerger Merge Worker
commit 3a23a03471
8 changed files with 22 additions and 0 deletions

View file

@ -55,6 +55,7 @@
permissive_mte_prop permissive_mte_prop
persist_sysui_builder_extras_prop persist_sysui_builder_extras_prop
prng_seeder prng_seeder
quick_start_prop
recovery_usb_config_prop recovery_usb_config_prop
remote_provisioning_service remote_provisioning_service
rkpdapp rkpdapp

View file

@ -152,6 +152,11 @@ get_prop(gmscore_app, dck_prop)
# Allow GMSCore to read RKP properties for the purpose of GTS testing. # Allow GMSCore to read RKP properties for the purpose of GTS testing.
get_prop(gmscore_app, remote_prov_prop) get_prop(gmscore_app, remote_prov_prop)
# Allow GmsCore to read Quick Start properties and prevent access from other
# policies.
get_prop(gmscore_app, quick_start_prop)
neverallow { domain -init -dumpstate -vendor_init -gmscore_app } quick_start_prop:file no_rw_file_perms;
# Do not allow getting permission-protected network information from sysfs. # Do not allow getting permission-protected network information from sysfs.
neverallow gmscore_app sysfs_net:file *; neverallow gmscore_app sysfs_net:file *;

View file

@ -1561,3 +1561,7 @@ ro.usb.uvc.enabled u:object_r:usb_uvc_enabled_prop:s0 exact bool
# System UI notification properties # System UI notification properties
persist.sysui.notification.builder_extras_override u:object_r:persist_sysui_builder_extras_prop:s0 exact bool persist.sysui.notification.builder_extras_override u:object_r:persist_sysui_builder_extras_prop:s0 exact bool
# Properties for Quick Start setup.
ro.quick_start.oem_id u:object_r:quick_start_prop:s0 exact string
ro.quick_start.device_id u:object_r:quick_start_prop:s0 exact string

View file

@ -171,6 +171,7 @@ system_vendor_config_prop(mediadrm_config_prop)
system_vendor_config_prop(mm_events_config_prop) system_vendor_config_prop(mm_events_config_prop)
system_vendor_config_prop(oem_unlock_prop) system_vendor_config_prop(oem_unlock_prop)
system_vendor_config_prop(packagemanager_config_prop) system_vendor_config_prop(packagemanager_config_prop)
system_vendor_config_prop(quick_start_prop)
system_vendor_config_prop(recovery_config_prop) system_vendor_config_prop(recovery_config_prop)
system_vendor_config_prop(recovery_usb_config_prop) system_vendor_config_prop(recovery_usb_config_prop)
system_vendor_config_prop(sendbug_config_prop) system_vendor_config_prop(sendbug_config_prop)

View file

@ -55,6 +55,7 @@
permissive_mte_prop permissive_mte_prop
persist_sysui_builder_extras_prop persist_sysui_builder_extras_prop
prng_seeder prng_seeder
quick_start_prop
recovery_usb_config_prop recovery_usb_config_prop
remote_provisioning_service remote_provisioning_service
rkpdapp rkpdapp

View file

@ -152,6 +152,11 @@ get_prop(gmscore_app, dck_prop)
# Allow GMSCore to read RKP properties for the purpose of GTS testing. # Allow GMSCore to read RKP properties for the purpose of GTS testing.
get_prop(gmscore_app, remote_prov_prop) get_prop(gmscore_app, remote_prov_prop)
# Allow GmsCore to read Quick Start properties and prevent access from other
# policies.
get_prop(gmscore_app, quick_start_prop)
neverallow { domain -init -dumpstate -vendor_init -gmscore_app } quick_start_prop:file no_rw_file_perms;
# Do not allow getting permission-protected network information from sysfs. # Do not allow getting permission-protected network information from sysfs.
neverallow gmscore_app sysfs_net:file *; neverallow gmscore_app sysfs_net:file *;

View file

@ -1561,3 +1561,7 @@ ro.usb.uvc.enabled u:object_r:usb_uvc_enabled_prop:s0 exact bool
# System UI notification properties # System UI notification properties
persist.sysui.notification.builder_extras_override u:object_r:persist_sysui_builder_extras_prop:s0 exact bool persist.sysui.notification.builder_extras_override u:object_r:persist_sysui_builder_extras_prop:s0 exact bool
# Properties for Quick Start setup.
ro.quick_start.oem_id u:object_r:quick_start_prop:s0 exact string
ro.quick_start.device_id u:object_r:quick_start_prop:s0 exact string

View file

@ -171,6 +171,7 @@ system_vendor_config_prop(mediadrm_config_prop)
system_vendor_config_prop(mm_events_config_prop) system_vendor_config_prop(mm_events_config_prop)
system_vendor_config_prop(oem_unlock_prop) system_vendor_config_prop(oem_unlock_prop)
system_vendor_config_prop(packagemanager_config_prop) system_vendor_config_prop(packagemanager_config_prop)
system_vendor_config_prop(quick_start_prop)
system_vendor_config_prop(recovery_config_prop) system_vendor_config_prop(recovery_config_prop)
system_vendor_config_prop(recovery_usb_config_prop) system_vendor_config_prop(recovery_usb_config_prop)
system_vendor_config_prop(sendbug_config_prop) system_vendor_config_prop(sendbug_config_prop)