README.md, nsjail.1: add --stderr_to_null option

This commit is contained in:
John Vogel 2018-07-14 10:20:34 -04:00
parent 4ef480546d
commit 37c0b9b37a
2 changed files with 5 additions and 0 deletions

View File

@ -396,6 +396,8 @@ Options:
Retain this capability, e.g. CAP_PTRACE (can be specified multiple times)
--silent
Redirect child process' fd:0/1/2 to /dev/null
--stderr_to_null
Redirect FD=2 (STDERR_FILENO) to /dev/null
--skip_setsid
Don't call setsid(), allows for terminal signal handling in the sandboxed process. Dangerous
--pass_fd VALUE

View File

@ -103,6 +103,9 @@ Retain this capability, e.g. CAP_PTRACE (can be specified multiple times)
\fB\-\-silent\fR
Redirect child process' fd:0/1/2 to /dev/null
.TP
\fB\-\-stderr_to_null\fR
Redirect FD=2 (STDERR_FILENO) to /dev/null
.TP
\fB\-\-skip_setsid\fR
Don't call setsid(), allows for terminal signal handling in the sandboxed process. Dangerous
.TP