]> code.delx.au - linux-getrandom-userspace/blob - README.md
704339791e03914f859aa484d62fdd1c38e9fb66
[linux-getrandom-userspace] / README.md
1 # linux-getrandom-userspace
2
3 ## Overview
4
5 Since Linux 3.17 there is a system call `getrandom()`. This was added to glibc 2.25.
6
7 This library can be used with `LD_PRELOAD` if you're using Linux 3.16 or earlier and need to run an application which requires `getrandom()`.
8
9 See [LWN's The long road to getrandom() in glibc](https://lwn.net/Articles/711013/) for more information.
10
11 ## Usage
12
13 ```
14 make
15 LD_PRELOAD="${PWD}/getrandom.so" mail
16 ```