[tor-commits] [tor/master] Fix some comments in sandbox.c

nickm at torproject.org nickm at torproject.org
Tue Aug 23 14:02:29 UTC 2016


commit 40d05983c4dd437dbaa4a99f90aefe4e1f1a64c3
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Aug 23 10:02:11 2016 -0400

    Fix some comments in sandbox.c
    
    Closes ticket 19942; patch from "cypherpunks"
---
 src/common/sandbox.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 42e40c6..37c1a94 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -838,7 +838,7 @@ sb_epoll_ctl(scmp_filter_ctx ctx, sandbox_cfg_t *filter)
 }
 
 /**
- * Function responsible for setting up the fcntl64 syscall for
+ * Function responsible for setting up the prctl syscall for
  * the seccomp filter sandbox.
  *
  * NOTE: if multiple filters need to be added, the PR_SECCOMP parameter needs
@@ -859,7 +859,7 @@ sb_prctl(scmp_filter_ctx ctx, sandbox_cfg_t *filter)
 }
 
 /**
- * Function responsible for setting up the fcntl64 syscall for
+ * Function responsible for setting up the mprotect syscall for
  * the seccomp filter sandbox.
  *
  * NOTE: does not NEED to be here.. currently only occurs before filter; will



More information about the tor-commits mailing list