зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1554976 - Allow network functions needed by Rust mDNS responder; r=tjr
This removes these functions: bind, getaddrinfo, recvfrom, sendto, setsockopt, socket from the check_networking test to allow for their use by the Rust mDNS responder. Differential Revision: https://phabricator.services.mozilla.com/D38488 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
00e5276301
Коммит
8d11bb48b4
|
@ -254,16 +254,14 @@ def check_networking(binary):
|
|||
retcode = 0
|
||||
networking_functions = set([
|
||||
# socketpair is not concerning; it is restricted to AF_UNIX
|
||||
"socket", "connect", "accept", "bind", "listen",
|
||||
"getsockname", "getsockopt", "setsockopt",
|
||||
"recv", "recvfrom",
|
||||
"send", "sendto",
|
||||
"connect", "accept", "listen", "getsockname", "getsockopt",
|
||||
"recv", "send",
|
||||
# We would be concerned by recvmsg and sendmsg; but we believe
|
||||
# they are okay as documented in 1376621#c23
|
||||
"gethostbyname", "gethostbyaddr", "gethostent", "sethostent", "endhostent",
|
||||
"gethostent_r", "gethostbyname2", "gethostbyaddr_r", "gethostbyname_r",
|
||||
"gethostbyname2_r",
|
||||
"getaddrinfo", "getservent", "getservbyname", "getservbyport", "setservent",
|
||||
"getservent", "getservbyname", "getservbyport", "setservent",
|
||||
"getprotoent", "getprotobyname", "getprotobynumber", "setprotoent",
|
||||
"endprotoent"])
|
||||
bad_occurences_names = set()
|
||||
|
|
Загрузка…
Ссылка в новой задаче