From 64b7897d6d453e67afe3f9d81c8fc37c26f8d483 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 23 May 2001 23:56:31 +0000 Subject: Update. 2001-05-23 kaz Kojima * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT. (_dl_runtime_profile): Likewise.. 2001-05-23 Thorsten Kukuk * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out. * posix/tst-getaddrinfo.c: Remove AF_UNIX test. 2001-05-19 H.J. Lu * elf/dl-deps.c (_dl_map_object_deps): Pass objname and errstring of the failed DSO to _dl_signal_error (). --- sysdeps/posix/getaddrinfo.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdeps/posix') diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 5239b6219b..1c5ed213c9 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -125,6 +125,8 @@ static const struct addrinfo default_hints = #endif +#if 0 +/* Using Unix sockets this way is a security risk. */ static int gaih_local (const char *name, const struct gaih_service *service, const struct addrinfo *req, struct addrinfo **pai) @@ -232,6 +234,7 @@ gaih_local (const char *name, const struct gaih_service *service, (*pai)->ai_canonname = NULL; return 0; } +#endif /* 0 */ static int gaih_inet_serv (const char *servicename, const struct gaih_typeproto *tp, @@ -690,7 +693,9 @@ static struct gaih gaih[] = { { PF_INET6, gaih_inet }, { PF_INET, gaih_inet }, +#if 0 { PF_LOCAL, gaih_local }, +#endif { PF_UNSPEC, NULL } }; -- cgit 1.4.1