diff options
author | ume <ume@FreeBSD.org> | 2003-09-15 04:52:15 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-09-15 04:52:15 +0000 |
commit | 93c02adbfdee5259708c436e90e56efdc7bb2f8a (patch) | |
tree | 8e814640f68fc781b496c6423906cc1b2e855f32 /lib | |
parent | 3141c7bd5e31956e29535a8e6fd31c90af7144f0 (diff) | |
download | FreeBSD-src-93c02adbfdee5259708c436e90e56efdc7bb2f8a.zip FreeBSD-src-93c02adbfdee5259708c436e90e56efdc7bb2f8a.tar.gz |
Our getaddrinfo() and getnameinfo() are thread-safe but
some limitation.
Reported by: Marc G. Fournier <scrappy@hub.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/getaddrinfo.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/getnameinfo.3 | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3 index b40f29a..c1932af 100644 --- a/lib/libc/net/getaddrinfo.3 +++ b/lib/libc/net/getaddrinfo.3 @@ -625,6 +625,10 @@ and documented in (RFC2553). .\" .Sh BUGS -The current implementation is not thread-safe. +Though the current implementation should be thread-safe, using +.Fn getaddrinfo +in conjunction with +.Fn gethostby* +breaks thread-safeness. .Pp The text was shamelessly copied from RFC2553. diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3 index 3267f43..bf197dc 100644 --- a/lib/libc/net/getnameinfo.3 +++ b/lib/libc/net/getnameinfo.3 @@ -301,7 +301,11 @@ and documented in (RFC2553). .\" .Sh BUGS -The current implementation is not thread-safe. +Though the current implementation should be thread-safe, using +.Fn getnameinfo +in conjunction with +.Fn gethostby* +breaks thread-safeness. .Pp The text was shamelessly copied from RFC2553. .Pp |