git: libc - Add getentropy()

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 30 13:16:30 PST 2021


commit fef748e3062060853a5d9859a1ea7507fbe0217b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Dec 30 13:13:55 2021 -0800

    libc - Add getentropy()
    
    * Add getentropy().  This function uses getrandom() internally.
    
    Requested-by: zrj, for dports

Summary of changes:
 include/unistd.h                                   |  1 +
 lib/libc/gen/Makefile.inc                          |  1 +
 lib/libc/gen/Symbol.map                            |  4 +++
 .../flame.h => lib/libc/gen/getentropy.c           | 30 +++++++++++++---------
 4 files changed, 24 insertions(+), 12 deletions(-)
 copy usr.bin/flame_graph/flame.h => lib/libc/gen/getentropy.c (84%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fef748e3062060853a5d9859a1ea7507fbe0217b


-- 
DragonFly BSD source repository



More information about the Commits mailing list