Merge "modem_svc: update sepolicy for UMI" into main

This commit is contained in:
Xiaofan Jiang 2024-09-26 18:12:25 +00:00 committed by Android (Google) Code Review
commit 4c1f2555d0

View file

@ -1,3 +1,4 @@
# Selinux rule for modem_svc_sit daemon
type modem_svc_sit, domain;
type modem_svc_sit_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(modem_svc_sit)
@ -51,6 +52,6 @@ allow modem_svc_sit modem_img_file:lnk_file r_file_perms;
# Allow modem_svc_sit to access socket for UMI
userdebug_or_eng(`
allow modem_svc_sit radio_vendor_data_file:sock_file { create unlink };
allow modem_svc_sit radio_vendor_data_file:sock_file { create write unlink };
')