rand_check: move docs to readme, create norandmaps section

This commit is contained in:
Ciro Santilli
2018-07-09 17:44:34 +01:00
parent 7b8811ee3d
commit 839271efd6
4 changed files with 38 additions and 18 deletions

View File

@@ -1,15 +1,6 @@
https://github.com/cirosantilli/linux-kernel-module-cheat#rootfs_overlay
. link:hello.c[]
. link:hello_cpp.cpp[]
. link:sched_getaffinity.c[]
. link:usermem.c[]
.. link:pagemap_dump.c[]
. inits
... link:sleep_forever.c[]
... link:poweroff.c[]
... link:init_dev_kmsg.c[]
. link:uio_read.c[]
. link:rand_check.c[]
. x86_64
.. link:rdtsc.c[]

View File

@@ -1,10 +1,4 @@
/* Check if we were able to remove certain sources of randomness
* across boots using different techniques:
*
* - QEMU icount record replay
* - norandmaps boot parameter
*
* You might want to run this as the init process to further remove undeterminism. */
/* https://github.com/cirosantilli/linux-kernel-module-cheat#rand_check-out */
#include <inttypes.h>
#include <signal.h>