Clean sepolicy of unused netd_socket

Bug: 65862741
Test: built, flashed, booted
Change-Id: I25578e54f8c222d381c8f8ea0ec143b5b503b6a6
Merged-In: I726aadd54b04df68cff992b70443c0335ca50972
This commit is contained in:
Luke Huang 2019-04-29 17:08:09 +08:00
parent b693197a34
commit 3a97f5ae8c
6 changed files with 3 additions and 3 deletions

View file

@ -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))

View file

@ -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)

View file

@ -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)

View file

@ -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

View file

@ -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)

View file

@ -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;