Przeglądaj źródła

Fix some comments in sandbox.c

Closes ticket 19942; patch from "cypherpunks"
Nick Mathewson 7 lat temu
rodzic
commit
40d05983c4
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/common/sandbox.c

+ 2 - 2
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