From 80e77b5e6d1ca8487baa1d80068b654b73443cd8 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 19 Mar 2013 19:47:29 +0800 Subject: Include /proc/vmstat as another random source --- random.c | 1 + 1 file changed, 1 insertion(+) (limited to 'random.c') diff --git a/random.c b/random.c index 9beb772..1a75fbf 100644 --- a/random.c +++ b/random.c @@ -211,6 +211,7 @@ void seedrandom() { 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(); -- cgit v1.2.3