]> code.delx.au - linux-getrandom-userspace/blob - README.md
Metadata
[linux-getrandom-userspace] / README.md
1 # linux-getrandom-userspace
2
3 Userspace implementation of the Linux 3.17 getrandom() syscall.
4
5 ## Overview
6
7 Since Linux 3.17 there is a system call `getrandom()`. This was added to glibc 2.25.
8
9 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()`.
10
11 See [LWN's The long road to getrandom() in glibc](https://lwn.net/Articles/711013/) for more information.
12
13 ## Usage
14
15 ```
16 make
17 LD_PRELOAD="${PWD}/getrandom.so" mail
18 ```