git: libkern: Add alias karc4random_buf() to karc4rand()

Aaron LI aly at crater.dragonflybsd.org
Sat Nov 4 20:33:03 PDT 2023


commit 40bbf4aca50eedafdb6b0886b111ce2bc0d9db3c
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Oct 19 16:38:29 2023 +0800

    libkern: Add alias karc4random_buf() to karc4rand()
    
    Align better with FreeBSD and OpenBSD that provide arc4random_buf()
    in libkern.
    
    Also for consistency with the userland arc4random_buf(3) API.

Summary of changes:
 sys/libkern/arc4random.c | 9 +++++++--
 sys/sys/libkern.h        | 1 +
 2 files changed, 8 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/40bbf4aca50eedafdb6b0886b111ce2bc0d9db3c


-- 
DragonFly BSD source repository


More information about the Commits mailing list