From 80e77b5e6d1ca8487baa1d80068b654b73443cd8 Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Tue, 19 Mar 2013 19:47:29 +0800
Subject: [PATCH] Include /proc/vmstat as another random source

---
 random.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/random.c b/random.c
index 9beb7720..1a75fbf8 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();
-- 
GitLab