Add keyguard_config_prop for keyguard property

keyguard.no_require_sim becomes keyguard_config_prop to remove
exported*_default_prop

Bug: 155844385
Test: boot and see no denials
Change-Id: Icffa88b650a1d35d8c1cd29f89daf0644a79ddd3
This commit is contained in:
Inseob Kim 2020-07-07 12:46:24 +09:00
parent 66158f9817
commit 04f435ca52
6 changed files with 12 additions and 1 deletions

View file

@ -111,6 +111,7 @@
iorapd_exec
iorapd_service
iorapd_tmpfs
keyguard_config_prop
last_boot_reason_prop
libc_debug_prop
llkd

View file

@ -1361,6 +1361,7 @@
camera_config_prop
drm_service_config_prop
hdmi_config_prop
keyguard_config_prop
lmkd_config_prop
media_config_prop
mediadrm_config_prop

View file

@ -87,6 +87,9 @@ allow platform_app system_server:udp_socket {
# allow platform apps to connect to the property service
set_prop(platform_app, test_boot_reason_prop)
# allow platform apps to read keyguard.no_require_sim
get_prop(platform_app, keyguard_config_prop)
# allow platform apps to create symbolic link
allow platform_app app_data_file:lnk_file create_file_perms;

View file

@ -412,3 +412,8 @@ neverallow {
-appdomain
-vendor_init
} packagemanager_config_prop:file no_rw_file_perms;
neverallow {
-coredomain
-vendor_init
} keyguard_config_prop:file no_rw_file_perms;

View file

@ -342,7 +342,7 @@ dalvik.vm.zygote.max-boot-retry u:object_r:dalvik_config_prop:s0 e
persist.sys.dalvik.vm.lib.2 u:object_r:dalvik_runtime_prop:s0 exact string
keyguard.no_require_sim u:object_r:exported3_default_prop:s0 exact bool
keyguard.no_require_sim u:object_r:keyguard_config_prop:s0 exact bool
media.recorder.show_manufacturer_and_model u:object_r:exported3_default_prop:s0 exact bool

View file

@ -119,6 +119,7 @@ system_vendor_config_prop(ffs_config_prop)
system_vendor_config_prop(graphics_config_prop)
system_vendor_config_prop(hdmi_config_prop)
system_vendor_config_prop(incremental_prop)
system_vendor_config_prop(keyguard_config_prop)
system_vendor_config_prop(lmkd_config_prop)
system_vendor_config_prop(media_config_prop)
system_vendor_config_prop(media_variant_prop)