diff options
author | startx2017 <vradu.startx@yandex.com> | 2017-10-24 12:41:42 -0400 |
---|---|---|
committer | startx2017 <vradu.startx@yandex.com> | 2017-10-24 12:41:42 -0400 |
commit | e8685de73159e005a84d3e756767c6d2db943e2e (patch) | |
tree | 524a0375e4998dfa9a958cf99ae56fb7b4a877bd /src/man/firejail.txt | |
parent | systemd-resoved fix this time for both Ubuntu and Arch (diff) | |
download | firejail-e8685de73159e005a84d3e756767c6d2db943e2e.tar.gz firejail-e8685de73159e005a84d3e756767c6d2db943e2e.tar.zst firejail-e8685de73159e005a84d3e756767c6d2db943e2e.zip |
implemented --rlimit-cpu - set max CPU time for processes running in the sandbox; for issue #1614, more to come...
Diffstat (limited to 'src/man/firejail.txt')
-rw-r--r-- | src/man/firejail.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 2303a8bbd..d2e04675d 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -1547,6 +1547,15 @@ $ firejail --read-only=~/test --read-write=~/test/a | |||
1547 | Set the maximum size of the process's virtual memory (address space) in bytes. | 1547 | Set the maximum size of the process's virtual memory (address space) in bytes. |
1548 | 1548 | ||
1549 | .TP | 1549 | .TP |
1550 | \fB\-\-rlimit-cpu=number | ||
1551 | Set the maximum limit, in seconds, for the amount of CPU time each | ||
1552 | sandboxed process can consume. When the limit is reached, the processes are killed. | ||
1553 | |||
1554 | The CPU limit is a limit on CPU seconds rather than elapsed time. CPU seconds is basically how many seconds | ||
1555 | the CPU has been in use and does not necessarily directly relate to the elapsed time. Linux kernel keeps | ||
1556 | track of CPU seconds for each process independently. | ||
1557 | |||
1558 | .TP | ||
1550 | \fB\-\-rlimit-fsize=number | 1559 | \fB\-\-rlimit-fsize=number |
1551 | Set the maximum file size that can be created by a process. | 1560 | Set the maximum file size that can be created by a process. |
1552 | .TP | 1561 | .TP |