thread safe functions missing ... ?
Kris Kennaway
kris at obsecurity.org
Sat Sep 13 20:56:58 PDT 2003
On Sat, Sep 13, 2003 at 10:24:52PM -0300, Marc G. Fournier wrote:
>
> Can anyone comment on the following results from running a test program
> we've writen for PostgreSQL? Should the following be thread-safe, either
> as themselves, or a different function we should be calling?
>
>
> Your gethostbyname() is _not_ thread-safe
There is no thread-safe implementation on FreeBSD.
> Your getpwuid() is _not_ thread-safe
getpwuid_r()
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030913/a9799b9c/attachment.bin
More information about the freebsd-stable
mailing list