mirror of
https://github.com/Evolution-X-Devices/device_google_zuma
synced 2026-02-01 14:27:31 +00:00
Merge "Revert "Move pixel dumpstate to gs-common"" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3fae47e04b
@@ -5,8 +5,10 @@ type modem_stat_data_file, file_type, data_file_type;
|
||||
type vendor_log_file, file_type, data_file_type;
|
||||
type vendor_rfsd_log_file, file_type, data_file_type;
|
||||
type vendor_slog_file, file_type, data_file_type;
|
||||
type radio_vendor_data_file, file_type, data_file_type;
|
||||
userdebug_or_eng(`
|
||||
typeattribute vendor_gps_file mlstrustedobject;
|
||||
typeattribute radio_vendor_data_file mlstrustedobject;
|
||||
typeattribute vendor_slog_file mlstrustedobject;
|
||||
')
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
# Data
|
||||
/data/vendor/log/rfsd(/.*)? u:object_r:vendor_rfsd_log_file:s0
|
||||
/data/vendor/radio(/.*)? u:object_r:radio_vendor_data_file:s0
|
||||
/data/vendor/log(/.*)? u:object_r:vendor_log_file:s0
|
||||
/data/vendor/slog(/.*)? u:object_r:vendor_slog_file:s0
|
||||
/data/vendor/modem_stat(/.*)? u:object_r:modem_stat_data_file:s0
|
||||
|
||||
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
@@ -1,5 +1,6 @@
|
||||
# Binaries
|
||||
/vendor/bin/hw/android\.hardware\.health-service\.zuma u:object_r:hal_health_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.dumpstate-service\.zuma u:object_r:hal_dumpstate_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.boot@1\.2-service-zuma u:object_r:hal_bootctl_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.gxp\.logging@service-gxp-logging u:object_r:gxp_logging_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.power\.stats-service\.pixel u:object_r:hal_power_stats_default_exec:s0
|
||||
|
||||
5
vendor/hal_dumpstate_default.te
vendored
Normal file
5
vendor/hal_dumpstate_default.te
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
allow hal_dumpstate_default vendor_toolbox_exec:file execute_no_trans;
|
||||
allow hal_dumpstate_default radio_vendor_data_file:dir create_dir_perms;
|
||||
allow hal_dumpstate_default radio_vendor_data_file:file create_file_perms;
|
||||
allow hal_dumpstate_default shell_data_file:file getattr;
|
||||
|
||||
Reference in New Issue
Block a user