NetBSD-Bugs archive

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

PR/59117 CVS commit: src



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59117 CVS commit: src
Date: Sun, 9 Mar 2025 18:11:55 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sun Mar  9 18:11:55 UTC 2025
 
 Modified Files:
 	src/lib/libc/gen: arc4random.c
 	src/lib/libc/include: arc4random.h
 	src/tests/lib/libc/gen: t_arc4random.c
 
 Log Message:
 arc4random(3): Provide a fallback in case pthread_atfork fails.
 
 This is considerably more work and burden on testing than simply
 statically preallocating a bit of storage for pthread_atfork to
 eliminate the failure mode altogether, but it is less work than
 arguing further over the atfork interface:
 https://mail-index.NetBSD.org/source-changes-d/2025/03/02/msg014387.html
 
 PR lib/59117: arc4random has some failure modes it shouldn't
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.45 -r1.46 src/lib/libc/gen/arc4random.c
 cvs rdiff -u -r1.3 -r1.4 src/lib/libc/include/arc4random.h
 cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/gen/t_arc4random.c
 
 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