1
0
mirror of https://github.com/clearml/dropbear synced 2025-04-08 14:45:41 +00:00

Include /proc/vmstat as another random source

This commit is contained in:
Matt Johnston 2013-03-19 19:47:29 +08:00
parent 58c7d4474c
commit 80e77b5e6d

View File

@ -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();