]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Spell getrlimit correctly.
authorNick Mathewson <nickm@torproject.org>
Mon, 9 Jun 2014 02:33:38 +0000 (22:33 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 9 Jun 2014 02:33:38 +0000 (22:33 -0400)
Fixes bug in b0c1c700114aa8d4dfc180d85870c5bbe15fcacb; bug
12229. Bugfix not in any released Tor.  Patch from "alphawolf".

src/common/sandbox.c

index c379151b31d3c75808960b7f5016ad9d9e7567fd..4721b8dfcc035f1024ffe3de7899abcd2d093ef8 100644 (file)
@@ -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),