Readme+man: updates for newer options

This commit is contained in:
Robert Swiecki
2026-03-23 22:14:10 +01:00
parent 5c21086f89
commit b1370d2315
2 changed files with 16 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ docker run --privileged --rm -it nsjail nsjail --user 99999 --group 99999 --chro
--rlimit_as MB Address space limit in MB --rlimit_as MB Address space limit in MB
--rlimit_cpu SEC CPU time limit in seconds --rlimit_cpu SEC CPU time limit in seconds
--rlimit_nofile N Max open files --rlimit_nofile N Max open files
--oom_score_adj VALUE OOM score adjustment for the sandbox (-1000 to 1000)
# Security # Security
-P, --seccomp_policy FILE Seccomp-bpf policy file (Kafel syntax) -P, --seccomp_policy FILE Seccomp-bpf policy file (Kafel syntax)

View File

@@ -285,6 +285,21 @@ Default GW for the 'vs' interface (e.g. "192.168.0.1")
.TP .TP
\fB\-\-macvlan_vs_ma\fR VALUE \fB\-\-macvlan_vs_ma\fR VALUE
MAC-address of the 'vs' interface (e.g. "ba:ad:ba:be:45:00") MAC-address of the 'vs' interface (e.g. "ba:ad:ba:be:45:00")
.TP
\fB\-\-macvlan_vs_mo\fR VALUE
Mode of the 'vs' interface. Can be either 'private', 'vepa', 'bridge' or 'passthru' (default: 'private')
.TP
\fB\-\-disable_tsc\fR
Disable rdtsc and rdtscp instructions. WARNING: To make it effective, you also need to forbid `prctl(PR_SET_TSC, PR_TSC_ENABLE, ...)` in seccomp rules! (x86 and x86_64 only). Dynamic binaries produced by GCC seem to rely on RDTSC, but static ones should work.
.TP
\fB\-\-forward_signals\fR
Forward fatal signals to the child process instead of always using SIGKILL.
.TP
\fB\-\-use_pasta\fR
Use pasta (user-mode networking) to provide networking connectivity
.TP
\fB\-\-oom_score_adj\fR VALUE
OOM score adjustment for the sandbox (\-1000 to 1000) (default: not set)
\" \"
.SH Examples .SH Examples
.PP .PP