[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 307aa7eb43c25f0009de33f9aea4376c329b4fe5
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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),

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits