Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2007 11:16:58 GMT
From:      Oleg <Oleg.Dolgov@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/116116: mktemp (3) re/move note
Message-ID:  <200709051116.l85BGwIG086380@www.freebsd.org>
Resent-Message-ID: <200709051120.l85BKD8b062970@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116116
>Category:       docs
>Synopsis:       mktemp (3) re/move note
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 05 11:20:12 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Oleg
>Release:        7-CURRENT
>Organization:
Sunbay
>Environment:
>Description:
in BUGS section:

The implementation of these functions calls arc4random(3), which is not
reentrant.  You must provide your own locking around this and other con-
sumers of the arc4random(3) API.

IMHO need to clean this note, because mkstemp and others are thread-safe.
We can move it to arc4random(3) man page.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709051116.l85BGwIG086380>