summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getentropy.2 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1) don't repeat the 256 / EIO commentaryderaadt2019-09-281-7/+6
| | | | | 2) say that the data comes from the random(4) subsystem, so that curious people can go read up on how this works
* fix macro usage; from Kaspars at Bankovskis dot netschwarze2015-01-311-7/+7
|
* use .Rv; no change of meaning; from Kaspars at Bankovskis dot netschwarze2014-12-101-6/+3
|
* As discussed with beck, tweak the wording for getentropy slightly soderaadt2014-07-181-5/+4
| | | | | that a certain kind of people don't go bonkers over "what is entropy". it is what it is, input to PRNG's.
* yes indeed, it returns void *. from Jean-Philippe Ouellet, i also hadderaadt2014-07-131-3/+3
| | | | this lurking in a tree
* occured -> occurred;jmc2014-06-151-3/+3
|
* Change return value of getentropy() to int 0 for success. Maximumderaadt2014-06-141-9/+27
| | | | | | | | 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
* typo; Piotr Sikoraderaadt2014-06-131-3/+2
|
* Add new getentropy() system call. Code and pressure from matthew.deraadt2014-06-131-0/+51
I accepted that he's right (again) to seperate this out from heavy sysctl API and this will simply a variety of things. Functionname is not used by anyone in the ports tree, so we guess we can use it. Shocking that no application has a function called this. ok matthew & others who pushed him to start this early on