Merge "Add qemu.hw.mainkeys to system property_contexts"
This commit is contained in:
commit
23bb01756e
6 changed files with 12 additions and 0 deletions
|
@ -79,6 +79,7 @@
|
||||||
profcollectd_data_file
|
profcollectd_data_file
|
||||||
profcollectd_exec
|
profcollectd_exec
|
||||||
profcollectd_service
|
profcollectd_service
|
||||||
|
qemu_hw_prop
|
||||||
radio_core_data_file
|
radio_core_data_file
|
||||||
reboot_readiness_service
|
reboot_readiness_service
|
||||||
remote_prov_app
|
remote_prov_app
|
||||||
|
|
|
@ -90,6 +90,9 @@ set_prop(platform_app, test_boot_reason_prop)
|
||||||
# allow platform apps to read keyguard.no_require_sim
|
# allow platform apps to read keyguard.no_require_sim
|
||||||
get_prop(platform_app, keyguard_config_prop)
|
get_prop(platform_app, keyguard_config_prop)
|
||||||
|
|
||||||
|
# allow platform apps to read qemu.hw.mainkeys
|
||||||
|
get_prop(platform_app, qemu_hw_prop)
|
||||||
|
|
||||||
# allow platform apps to create symbolic link
|
# allow platform apps to create symbolic link
|
||||||
allow platform_app app_data_file:lnk_file create_file_perms;
|
allow platform_app app_data_file:lnk_file create_file_perms;
|
||||||
|
|
||||||
|
|
|
@ -186,6 +186,9 @@ ro.config. u:object_r:config_prop:s0
|
||||||
dalvik. u:object_r:dalvik_prop:s0
|
dalvik. u:object_r:dalvik_prop:s0
|
||||||
ro.dalvik. u:object_r:dalvik_prop:s0
|
ro.dalvik. u:object_r:dalvik_prop:s0
|
||||||
|
|
||||||
|
# qemu_hw_prop is read/written by both system and vendor.
|
||||||
|
qemu.hw.mainkeys u:object_r:qemu_hw_prop:s0
|
||||||
|
|
||||||
# Shared between system server and wificond
|
# Shared between system server and wificond
|
||||||
wifi. u:object_r:wifi_prop:s0
|
wifi. u:object_r:wifi_prop:s0
|
||||||
wlan. u:object_r:wifi_prop:s0
|
wlan. u:object_r:wifi_prop:s0
|
||||||
|
|
|
@ -1327,3 +1327,6 @@ neverallowxperm { domain -system_server } binder_device:chr_file ioctl { BINDER_
|
||||||
# Only system server can write the font files.
|
# Only system server can write the font files.
|
||||||
neverallow { domain -init -system_server } font_data_file:file no_w_file_perms;
|
neverallow { domain -init -system_server } font_data_file:file no_w_file_perms;
|
||||||
neverallow { domain -init -system_server } font_data_file:dir no_w_dir_perms;
|
neverallow { domain -init -system_server } font_data_file:dir no_w_dir_perms;
|
||||||
|
|
||||||
|
# Read qemu.hw.mainkeys property
|
||||||
|
get_prop(system_server, qemu_hw_prop)
|
||||||
|
|
|
@ -191,6 +191,7 @@ system_public_prop(lowpan_prop)
|
||||||
system_public_prop(nfc_prop)
|
system_public_prop(nfc_prop)
|
||||||
system_public_prop(ota_prop)
|
system_public_prop(ota_prop)
|
||||||
system_public_prop(powerctl_prop)
|
system_public_prop(powerctl_prop)
|
||||||
|
system_public_prop(qemu_hw_prop)
|
||||||
system_public_prop(radio_control_prop)
|
system_public_prop(radio_control_prop)
|
||||||
system_public_prop(radio_prop)
|
system_public_prop(radio_prop)
|
||||||
system_public_prop(serialno_prop)
|
system_public_prop(serialno_prop)
|
||||||
|
|
|
@ -235,6 +235,7 @@ set_prop(vendor_init, lmkd_prop)
|
||||||
set_prop(vendor_init, logd_prop)
|
set_prop(vendor_init, logd_prop)
|
||||||
set_prop(vendor_init, log_tag_prop)
|
set_prop(vendor_init, log_tag_prop)
|
||||||
set_prop(vendor_init, log_prop)
|
set_prop(vendor_init, log_prop)
|
||||||
|
set_prop(vendor_init, qemu_hw_prop)
|
||||||
set_prop(vendor_init, radio_control_prop)
|
set_prop(vendor_init, radio_control_prop)
|
||||||
set_prop(vendor_init, rebootescrow_hal_prop)
|
set_prop(vendor_init, rebootescrow_hal_prop)
|
||||||
set_prop(vendor_init, serialno_prop)
|
set_prop(vendor_init, serialno_prop)
|
||||||
|
|
Loading…
Reference in a new issue