aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-06-08 22:33:38 -0400
committerNick Mathewson <nickm@torproject.org>2014-06-08 22:33:38 -0400
commit307aa7eb43c25f0009de33f9aea4376c329b4fe5 (patch)
tree37f1e14b3a55c4603a6d6107ceed6af68f5b400b /src
parent95d47a74815ede0e4d0296f02db39dca3e0c1b39 (diff)
downloadtor-307aa7eb43c25f0009de33f9aea4376c329b4fe5.tar
tor-307aa7eb43c25f0009de33f9aea4376c329b4fe5.tar.gz
Spell getrlimit correctly.
Fixes bug in b0c1c700114aa8d4dfc180d85870c5bbe15fcacb; bug 12229. Bugfix not in any released Tor. Patch from "alphawolf".
Diffstat (limited to 'src')
-rw-r--r--src/common/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index c379151b3..4721b8dfc 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -135,7 +135,7 @@ static int filter_nopar_gen[] = {
#ifdef __NR_getgid32
SCMP_SYS(getgid32),
#endif
-#ifdef __NR_getrlimt
+#ifdef __NR_getrlimit
SCMP_SYS(getrlimit),
#endif
SCMP_SYS(gettimeofday),