Modem ML: Grant access to modem ML data dir
Bug: 229801544 Change-Id: Ia2e9c5a48ad935a49f3b8a9c6bceae3f4f833b4e
This commit is contained in:
parent
5bee37db26
commit
6e8c79e7db
3 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
# Data
|
||||
type rild_vendor_data_file, file_type, data_file_type;
|
||||
type vendor_gps_file, file_type, data_file_type;
|
||||
type modem_ml_data_file, file_type, data_file_type;
|
||||
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;
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
/data/vendor/log/rfsd(/.*)? u:object_r:vendor_rfsd_log_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_ml(/.*)? u:object_r:modem_ml_data_file:s0
|
||||
/data/vendor/modem_stat(/.*)? u:object_r:modem_stat_data_file:s0
|
||||
/data/vendor/rild(/.*)? u:object_r:rild_vendor_data_file:s0
|
||||
|
||||
|
|
|
@ -11,6 +11,10 @@ allow modem_ml_svc_sit radio_device:chr_file rw_file_perms;
|
|||
allow modem_ml_svc_sit radio_vendor_data_file:dir create_dir_perms;
|
||||
allow modem_ml_svc_sit radio_vendor_data_file:file create_file_perms;
|
||||
|
||||
# Grant modem ml data file/dir creation permission
|
||||
allow modem_ml_svc_sit modem_ml_data_file:dir create_dir_perms;
|
||||
allow modem_ml_svc_sit modem_ml_data_file:file create_file_perms;
|
||||
|
||||
# Grant modem ml models config files access
|
||||
allow modem_ml_svc_sit modem_config_file:file r_file_perms;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue