CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2014/06/14 12:01:42
Modified files: include : unistd.h sys/kern : syscalls.master sys/dev : rnd.c lib/libc/sys : getentropy.2 Log message: Change return value of getentropy() to int 0 for success. Maximum buffersize is enforced strictly, this supplies sufficient entropy payload to act as seed material. Discourage general use of this API, but lock down this function name as the go-to for userland PRNG seeding. Improve documentation. ok miod matthew