summaryrefslogtreecommitdiffhomepage
path: root/random.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-19 19:47:29 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-19 19:47:29 +0800
commit80e77b5e6d1ca8487baa1d80068b654b73443cd8 (patch)
tree703947a84081c5e88b7969d2d4b5da66ad742505 /random.c
parent58c7d4474c427f0037e1289403f0a5efc3e2df24 (diff)
Include /proc/vmstat as another random source
Diffstat (limited to 'random.c')
-rw-r--r--random.c1
1 files changed, 1 insertions, 0 deletions
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();