diff --git a/private/compat/26.0/26.0.cil b/private/compat/26.0/26.0.cil index abd5fc33f..3b3dae1c6 100644 --- a/private/compat/26.0/26.0.cil +++ b/private/compat/26.0/26.0.cil @@ -18,6 +18,7 @@ (type vold_socket) (type webview_zygote_socket) (type rild) +(type netd_socket) (typeattributeset accessibility_service_26_0 (accessibility_service)) (typeattributeset account_service_26_0 (account_service)) diff --git a/private/compat/27.0/27.0.cil b/private/compat/27.0/27.0.cil index 8bc2ca6ea..e539d3b58 100644 --- a/private/compat/27.0/27.0.cil +++ b/private/compat/27.0/27.0.cil @@ -2,6 +2,7 @@ (type commontime_management_service) (type mediacodec) (type mediacodec_exec) +(type netd_socket) (type qtaguid_proc) (type reboot_data_file) (type vold_socket) diff --git a/private/compat/28.0/28.0.cil b/private/compat/28.0/28.0.cil index 5a4b8193f..fbe8588c7 100644 --- a/private/compat/28.0/28.0.cil +++ b/private/compat/28.0/28.0.cil @@ -10,6 +10,7 @@ (type mediacodec) (type mediacodec_exec) (type mtd_device) +(type netd_socket) (type qtaguid_proc) (type thermalcallback_hwservice) (type untrusted_v2_app) diff --git a/private/file_contexts b/private/file_contexts index dab1026b4..e9e05a33c 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -130,7 +130,6 @@ /dev/socket/mdns u:object_r:mdns_socket:s0 /dev/socket/mdnsd u:object_r:mdnsd_socket:s0 /dev/socket/mtpd u:object_r:mtpd_socket:s0 -/dev/socket/netd u:object_r:netd_socket:s0 /dev/socket/pdx/system/buffer_hub u:object_r:pdx_bufferhub_dir:s0 /dev/socket/pdx/system/buffer_hub/client u:object_r:pdx_bufferhub_client_endpoint_socket:s0 /dev/socket/pdx/system/performance u:object_r:pdx_performance_dir:s0 diff --git a/private/system_server.te b/private/system_server.te index 4bf8f8ec5..35493531a 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -165,7 +165,6 @@ allow system_server self:tun_socket create_socket_perms_no_ioctl; # Talk to init and various daemons via sockets. unix_socket_connect(system_server, lmkd, lmkd) unix_socket_connect(system_server, mtpd, mtp) -unix_socket_connect(system_server, netd, netd) unix_socket_connect(system_server, zygote, zygote) unix_socket_connect(system_server, racoon, racoon) unix_socket_connect(system_server, uncrypt, uncrypt) diff --git a/public/file.te b/public/file.te index 6f27ec4fd..53811e01f 100644 --- a/public/file.te +++ b/public/file.te @@ -419,7 +419,6 @@ type mdns_socket, file_type, coredomain_socket; type mdnsd_socket, file_type, coredomain_socket, mlstrustedobject; type misc_logd_file, coredomain_socket, file_type, data_file_type, core_data_file_type; type mtpd_socket, file_type, coredomain_socket; -type netd_socket, file_type, coredomain_socket; type property_socket, file_type, coredomain_socket, mlstrustedobject; type racoon_socket, file_type, coredomain_socket; type recovery_socket, file_type, coredomain_socket;