mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
docs: rlimit: improve text and use base-2 units (#6894)
The base-2 units are more accurate, as `--rlimit-as=1K` is equivalent to `--rlimit-as=1024`, not `--rlimit-as=1000`, for example. This is a follow-up to #6891. Relates to #4315.
This commit is contained in:
parent
45229e0f9b
commit
ad797d7380
1 changed files with 4 additions and 2 deletions
|
|
@ -2577,7 +2577,8 @@ $ firejail \-\-restrict-namespaces=user,net
|
|||
.TP
|
||||
\fB\-\-rlimit-as=number
|
||||
Set the maximum size of the process's virtual memory (address space) in bytes.
|
||||
Use K(ilobyte), M(egabyte) or G(igabyte) for size suffix (base 1024).
|
||||
You can use K(ibibyte), M(ebibyte) or G(ibibyte) as a suffix, such as "100M"
|
||||
(which is equivalent to 104857600 bytes).
|
||||
|
||||
.TP
|
||||
\fB\-\-rlimit-cpu=number
|
||||
|
|
@ -2591,7 +2592,8 @@ track of CPU seconds for each process independently.
|
|||
.TP
|
||||
\fB\-\-rlimit-fsize=number
|
||||
Set the maximum file size that can be created by a process.
|
||||
Use K(ilobyte), M(egabyte) or G(igabyte) for size suffix (base 1024).
|
||||
You can use K(ibibyte), M(ebibyte) or G(ibibyte) as a suffix, such as "100M"
|
||||
(which is equivalent to 104857600 bytes).
|
||||
.TP
|
||||
\fB\-\-rlimit-nofile=number
|
||||
Set the maximum number of files that can be opened by a process.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue