Revert "Revert "Create telephony.ril.silent_reset system_ext pro..."

Revert submission 23817868-revert-23736941-tpsr-ril-property-WQVGKEVBKX

Reason for revert: The root cause is missing property definition in gs101-sepolicy. This CL can be merged safely. Verified by abtd run: https://android-build.googleplex.com/builds/abtd/run/L48900000961646046

Reverted changes: /q/submissionid:23817868-revert-23736941-tpsr-ril-property-WQVGKEVBKX

Bug: 286476107
Change-Id: I81a350f1df3c9071945e484277ed7fab5ae4c60e
This commit is contained in:
Samuel Huang 2023-06-28 06:16:30 +00:00
parent 0c5d6dd888
commit d460f878fe
4 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,5 @@
set_prop(radio, telephony_ril_prop)
allow radio radio_vendor_data_file:dir rw_dir_perms; allow radio radio_vendor_data_file:dir rw_dir_perms;
allow radio radio_vendor_data_file:file create_file_perms; allow radio radio_vendor_data_file:file create_file_perms;
allow radio vendor_ims_app:udp_socket { getattr read write setopt shutdown }; allow radio vendor_ims_app:udp_socket { getattr read write setopt shutdown };

View file

@ -6,6 +6,8 @@ get_prop(rild, vendor_carrier_prop)
get_prop(rild, sota_prop) get_prop(rild, sota_prop)
get_prop(rild, system_boot_reason_prop) get_prop(rild, system_boot_reason_prop)
set_prop(rild, telephony_ril_prop)
allow rild proc_net:file rw_file_perms; allow rild proc_net:file rw_file_perms;
allow rild radio_vendor_data_file:dir create_dir_perms; allow rild radio_vendor_data_file:dir create_dir_perms;
allow rild radio_vendor_data_file:file create_file_perms; allow rild radio_vendor_data_file:file create_file_perms;

View file

@ -0,0 +1,2 @@
# Telephony
telephony.ril.silent_reset u:object_r:telephony_ril_prop:s0 exact bool

View file

@ -0,0 +1,6 @@
# Telephony
system_public_prop(telephony_ril_prop)
userdebug_or_eng(`
set_prop(shell, telephony_ril_prop)
')