Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
sepolicy: Resolve coredomain and system_file_type for Q
Browse files Browse the repository at this point in the history
 * The following domain(s) must be associated with the
    "coredomain" attribute because they are executed off of
     /system: fm_dl hci_attach hw_config irsc_util netmgrd
     qmuxd rmt secchand ta_qmi_service tad updatemiscta

 * The following types on /system/ must be associated with the
    "system_file_type" attribute: hci_attach_exec irsc_util_exec
    netmgrd_exec qmuxd_exec rmt_exec secchand_exec
    ta_qmi_service_exec updatemiscta_exec

Change-Id: I4c56d41e31ddda3b2dcdb8a5070327822c74ba76
  • Loading branch information
AdrianDC committed Aug 17, 2020
1 parent 1a5589e commit a0ce8f8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion sepolicy/fm_dl.te
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type fm_dl, domain;
type fm_dl, domain, coredomain;
type fm_dl_exec, exec_type, file_type;

init_daemon_domain(fm_dl)
Expand Down
4 changes: 2 additions & 2 deletions sepolicy/hci_attach.te
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type hci_attach, domain;
type hci_attach_exec, exec_type, file_type;
type hci_attach, domain, coredomain;
type hci_attach_exec, system_file_type, exec_type, file_type;

init_daemon_domain(hci_attach)

Expand Down
2 changes: 1 addition & 1 deletion sepolicy/hw_config.te
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type hw_config, domain;
type hw_config, domain, coredomain;
type hw_config_exec, exec_type, file_type;

init_daemon_domain(hw_config)
Expand Down
4 changes: 2 additions & 2 deletions sepolicy/secchand.te
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type secchand, domain;
type secchand_exec, exec_type, file_type;
type secchand, domain, coredomain;
type secchand_exec, system_file_type, exec_type, file_type;

init_daemon_domain(secchand)

Expand Down
4 changes: 2 additions & 2 deletions sepolicy/ta_qmi_service.te
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type ta_qmi_service, domain;
type ta_qmi_service_exec, exec_type, file_type;
type ta_qmi_service, domain, coredomain;
type ta_qmi_service_exec, system_file_type, exec_type, file_type;

init_daemon_domain(ta_qmi_service)

Expand Down
4 changes: 2 additions & 2 deletions sepolicy/updatemiscta.te
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type updatemiscta, domain;
type updatemiscta_exec, exec_type, file_type;
type updatemiscta, domain, coredomain;
type updatemiscta_exec, system_file_type, exec_type, file_type;

init_daemon_domain(updatemiscta)

Expand Down

0 comments on commit a0ce8f8

Please sign in to comment.