changeset 702:48e173a0c52b

Include /proc/vmstat as another random source
author Matt Johnston <matt@ucc.asn.au>
date Tue, 19 Mar 2013 19:47:29 +0800
parents 20dafc77322e
children caa09587c3fb
files random.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/random.c	Tue Mar 19 19:43:47 2013 +0800
+++ b/random.c	Tue Mar 19 19:47:29 2013 +0800
@@ -211,6 +211,7 @@
 	process_file(&hs, "/proc/net/tcp", 0, 0);
 	/* Also includes interface lo */
 	process_file(&hs, "/proc/net/rt_cache", 0, 0);
+	process_file(&hs, "/proc/vmstat", 0, 0);
 #endif
 
 	pid = getpid();