mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
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:
parent
2646ae9c6d
commit
023252b4a9
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user