summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-23 10:02:11 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-23 10:02:11 -0400
commit40d05983c4dd437dbaa4a99f90aefe4e1f1a64c3 (patch)
treeee493bd39119d5b3fa62296a5cd59b953e38589c
parent6ca87e393b284c3279f4a1bda7b10e1c5d603e50 (diff)
downloadtor-40d05983c4dd437dbaa4a99f90aefe4e1f1a64c3.tar.gz
tor-40d05983c4dd437dbaa4a99f90aefe4e1f1a64c3.zip
Fix some comments in sandbox.c
Closes ticket 19942; patch from "cypherpunks"
-rw-r--r--src/common/sandbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 42e40c6a8f..37c1a9428f 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