[tor-commits] [tor/master] Spell getrlimit correctly.

nickm at torproject.org nickm at torproject.org
Mon Jun 9 02:34:17 UTC 2014


commit 307aa7eb43c25f0009de33f9aea4376c329b4fe5
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sun Jun 8 22:33:38 2014 -0400

    Spell getrlimit correctly.
    
    Fixes bug in b0c1c700114aa8d4dfc180d85870c5bbe15fcacb; bug
    12229. Bugfix not in any released Tor.  Patch from "alphawolf".
---
 src/common/sandbox.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index c379151..4721b8d 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),



More information about the tor-commits mailing list