aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/firejail.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/man/firejail.txt')
-rw-r--r--src/man/firejail.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index c2c0bc297..087d1c85a 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -693,6 +693,7 @@ Example:
693.br 693.br
694$ firejail \-\-net=eth0 \-\-defaultgw=10.10.20.1 firefox 694$ firejail \-\-net=eth0 \-\-defaultgw=10.10.20.1 firefox
695#endif 695#endif
696
696.TP 697.TP
697\fB\-\-deterministic-exit-code 698\fB\-\-deterministic-exit-code
698Always exit firejail with the first child's exit status. The default behavior is to use the exit status of the final child to exit, which can be nondeterministic. 699Always exit firejail with the first child's exit status. The default behavior is to use the exit status of the final child to exit, which can be nondeterministic.
@@ -2257,6 +2258,29 @@ $ firejail --read-only=~/test --read-write=~/test/a
2257 2258
2258 2259
2259.TP 2260.TP
2261\fB\-\-restrict-namespaces
2262Install a seccomp filter that blocks attempts to create new cgroup, ipc, net, mount, pid, time, user or uts namespaces.
2263.br
2264
2265.br
2266Example:
2267.br
2268$ firejail \-\-restrict-namespaces
2269
2270.TP
2271\fB\-\-restrict-namespaces=cgroup,ipc,net,mnt,pid,time,user,uts
2272Install a seccomp filter that blocks attempts to create any of the specified namespaces. The filter examines
2273the arguments of clone, unshare and setns system calls and returns error EPERM to the process
2274(or kills it or logs the attempt, see \-\-seccomp-error-action below) if necessary. Note that the filter is not
2275able to examine the arguments of clone3 system calls, and always responds to these calls with error ENOSYS.
2276.br
2277
2278.br
2279Example:
2280.br
2281$ firejail \-\-restrict-namespaces=user,net
2282
2283.TP
2260\fB\-\-rlimit-as=number 2284\fB\-\-rlimit-as=number
2261Set the maximum size of the process's virtual memory (address space) in bytes. 2285Set the maximum size of the process's virtual memory (address space) in bytes.
2262Use k(ilobyte), m(egabyte) or g(igabyte) for size suffix (base 1024). 2286Use k(ilobyte), m(egabyte) or g(igabyte) for size suffix (base 1024).