Source-Changes-HG archive

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

[src/trunk]: src/lib/libc Don't suggest removing arc4random with a libc bump.



details:   https://anonhg.NetBSD.org/src/rev/03206a817aee
branches:  trunk
changeset: 933986:03206a817aee
user:      nia <nia%NetBSD.org@localhost>
date:      Tue Jun 02 13:56:30 2020 +0000

description:
Don't suggest removing arc4random with a libc bump.

It's established enough in non-legacy code that this is a terrible idea.
Even if we add getentropy it's not a comparable API (not a userspace RNG
capable of streaming large numbers of bytes, doesn't have _uniform, etc).

"Feel free to remove that line!" - riastradh

diffstat:

 lib/libc/shlib_version |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 3a9e012c41a5 -r 03206a817aee lib/libc/shlib_version
--- a/lib/libc/shlib_version    Tue Jun 02 13:49:15 2020 +0000
+++ b/lib/libc/shlib_version    Tue Jun 02 13:56:30 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: shlib_version,v 1.288 2020/05/16 18:59:23 christos Exp $
+#      $NetBSD: shlib_version,v 1.289 2020/06/02 13:56:30 nia Exp $
 #      Remember to update distrib/sets/lists/base/shl.* when changing
 #
 # things we wish to do on next major version bump:
@@ -43,7 +43,6 @@
 # - redo stdin/stdout/stderr to not require copy relocations
 # - move gethostbyname to a compat library
 # - remove badly hidden gethostbyname_r
-# - remove arc4random(3) API
 # - decide whether soft-float should support fenv.h, including thread-local contett
 # - stop all math functions from setting errno
 # - boot obsolete signal functions to libcompat



Home | Main Index | Thread Index | Old Index