mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Grant these components a temporary exemption to a neverallow rule asserting vendor processes may not access core data types outside /data/vendor. Bug: 34980020 Test: Build and boot Muskie. Change-Id: I1e536fb7c09a3a2907d06db8304279551a6de81e
20 lines
613 B
Plaintext
20 lines
613 B
Plaintext
# /system/bin/init.radio.sh
|
|
type init_radio, domain;
|
|
type init_radio_exec, exec_type, file_type;
|
|
|
|
init_daemon_domain(init_radio)
|
|
|
|
allow init_radio shell_exec:file r_file_perms;
|
|
allow init_radio toolbox_exec:file rx_file_perms;
|
|
|
|
# TODO(b/36663092): Remove once init_radio no longer accesses data
|
|
# outside /data/vendor. Also, the label cannot be radio_data_file since
|
|
# that belongs to the radio app.
|
|
typeattribute init_radio coredata_in_vendor_violators;
|
|
allow init_radio radio_data_file:dir create_dir_perms;
|
|
allow init_radio radio_data_file:file create_file_perms;
|
|
|
|
userdebug_or_eng(`
|
|
permissive init_radio;
|
|
')
|