Merge "Allow modem_svc to access modem files and perfetto" into main
This commit is contained in:
commit
e0e63c38d7
1 changed files with 10 additions and 1 deletions
|
@ -20,7 +20,7 @@ allow modem_svc_sit modem_stat_data_file:file create_file_perms;
|
|||
allow modem_svc_sit vendor_fw_file:dir search;
|
||||
allow modem_svc_sit vendor_fw_file:file r_file_perms;
|
||||
|
||||
allow modem_svc_sit mnt_vendor_file:dir search;
|
||||
allow modem_svc_sit mnt_vendor_file:dir r_dir_perms;
|
||||
allow modem_svc_sit modem_userdata_file:dir create_dir_perms;
|
||||
allow modem_svc_sit modem_userdata_file:file create_file_perms;
|
||||
|
||||
|
@ -36,3 +36,12 @@ get_prop(modem_svc_sit, hwservicemanager_prop)
|
|||
|
||||
# logging property
|
||||
get_prop(modem_svc_sit, vendor_logger_prop)
|
||||
|
||||
# Write trace data to the Perfetto traced daemon. This requires connecting to
|
||||
# its producer socket and obtaining a (per-process) tmpfs fd.
|
||||
perfetto_producer(modem_svc_sit)
|
||||
|
||||
# Allow modem_svc_sit to access modem image file/dir
|
||||
allow modem_svc_sit modem_img_file:dir r_dir_perms;
|
||||
allow modem_svc_sit modem_img_file:file r_file_perms;
|
||||
allow modem_svc_sit modem_img_file:lnk_file r_file_perms;
|
Loading…
Add table
Add a link
Reference in a new issue