NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/59124 CVS commit: src/lib/libc



The following reply was made to PR lib/59124; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59124 CVS commit: src/lib/libc
Date: Thu, 6 Mar 2025 00:53:27 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Thu Mar  6 00:53:27 UTC 2025
 
 Modified Files:
 	src/lib/libc/gen: arc4random.c
 	src/lib/libc/include: arc4random.h
 
 Log Message:
 arc4random(3): Switch to use thr_once (libc pthread_once symbol).
 
 This way, we reduce the problem of arc4random initialization
 fork-safety to the problem of pthread_once fork-safety -- and
 anything else to do with one-time lazy initialization.
 
 PR lib/59124: arc4random(3): first call in process races with
 concurrent fork
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.43 -r1.44 src/lib/libc/gen/arc4random.c
 cvs rdiff -u -r1.2 -r1.3 src/lib/libc/include/arc4random.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index