summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-03 11:46:01 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-24 10:26:14 -0400
commitaca05fc5c08d6296c4f93850a0256bfd96890b18 (patch)
treed60364e182cf4d3564930eb44af423f03bf1abd6 /src/or/main.c
parent17d5734df47bc4b9bd40f878e492eb676ca47ae8 (diff)
downloadtor-aca05fc5c08d6296c4f93850a0256bfd96890b18.tar.gz
tor-aca05fc5c08d6296c4f93850a0256bfd96890b18.zip
get_total_system_memory(): see how much RAM we have
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index feca35c440..8c75a3b5e6 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2751,6 +2751,7 @@ sandbox_init_filter(void)
"/dev/srandom", 0,
"/dev/urandom", 0,
"/dev/random", 0,
+ "/proc/meminfo", 0,
NULL, 0
);