summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/getaddrinfo.3
diff options
context:
space:
mode:
authoritojun <>2004-12-21 01:01:47 +0000
committeritojun <>2004-12-21 01:01:47 +0000
commit3b14bd049e961cdc29a063c8bd9fedbc33060d1f (patch)
treec8d4372593973aa7ba00bffba3331696d17a3d70 /src/lib/libc/net/getaddrinfo.3
parent2fcee8ace90322a59d0077d3f8f89799fff2e16d (diff)
downloadopenbsd-3b14bd049e961cdc29a063c8bd9fedbc33060d1f.tar.gz
openbsd-3b14bd049e961cdc29a063c8bd9fedbc33060d1f.tar.bz2
openbsd-3b14bd049e961cdc29a063c8bd9fedbc33060d1f.zip
thread-unsafeness comes from the use of _res, YP filehandle, and /etc/hosts
filehandle, not dynamic memory allocation.
Diffstat (limited to 'src/lib/libc/net/getaddrinfo.3')
-rw-r--r--src/lib/libc/net/getaddrinfo.34
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3
index e7ddfba5fd..cc5eaa4182 100644
--- a/src/lib/libc/net/getaddrinfo.3
+++ b/src/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getaddrinfo.3,v 1.33 2004/12/20 21:35:10 millert Exp $ 1.\" $OpenBSD: getaddrinfo.3,v 1.34 2004/12/21 01:01:47 itojun Exp $
2.\" 2.\"
3.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") 3.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
4.\" Copyright (C) 2000, 2001 Internet Software Consortium. 4.\" Copyright (C) 2000, 2001 Internet Software Consortium.
@@ -432,6 +432,6 @@ draft specification and documented in
432.Dv "RFC 3493" , 432.Dv "RFC 3493" ,
433.Dq Basic Socket Interface Extensions for IPv6 . 433.Dq Basic Socket Interface Extensions for IPv6 .
434.Sh BUGS 434.Sh BUGS
435Due to the use of dynamic allocation, 435The implementation of
436.Fn getaddrinfo 436.Fn getaddrinfo
437is not thread-safe. 437is not thread-safe.