Merge "Clean sepolicy of unused netd_socket" into qt-dev

This commit is contained in:
TreeHugger Robot 2019-05-10 03:15:56 +00:00 committed by Android (Google) Code Review
commit dc4dc55784
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 rild)

View file

@ -11,6 +11,7 @@
(type mediacodec_exec)
(type mediaextractor_update_service)
(type mtd_device)
(type netd_socket)
(type qtaguid_proc)
(type thermalcallback_hwservice)
(type thermalserviced)

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

@ -160,7 +160,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

@ -414,7 +414,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;