diff options
author | netblue30 <netblue30@yahoo.com> | 2017-10-25 09:36:17 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-10-25 09:36:17 -0400 |
commit | 22fa8fcf675fdfabca232326e57a657f765936f3 (patch) | |
tree | 28cfe4cbde5a83ec6b16e657b218fff80cac8780 /README.md | |
parent | --timeout, fix #1614 (diff) | |
download | firejail-22fa8fcf675fdfabca232326e57a657f765936f3.tar.gz firejail-22fa8fcf675fdfabca232326e57a657f765936f3.tar.zst firejail-22fa8fcf675fdfabca232326e57a657f765936f3.zip |
RELNOTES, README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -171,7 +171,7 @@ shell none | |||
171 | $ | 171 | $ |
172 | ````` | 172 | ````` |
173 | 173 | ||
174 | ## New command line options | 174 | ## New command line and profile options |
175 | ````` | 175 | ````` |
176 | --writable-run-user | 176 | --writable-run-user |
177 | This options disables the default blacklisting of | 177 | This options disables the default blacklisting of |
@@ -179,6 +179,28 @@ $ | |||
179 | 179 | ||
180 | Example: | 180 | Example: |
181 | $ sudo firejail --writable-run-user | 181 | $ sudo firejail --writable-run-user |
182 | |||
183 | --rlimit-as=number | ||
184 | Set the maximum size of the process's virtual memory (address | ||
185 | space) in bytes. | ||
186 | |||
187 | --rlimit-cpu=number | ||
188 | Set the maximum limit, in seconds, for the amount of CPU time | ||
189 | each sandboxed process can consume. When the limit is reached, | ||
190 | the processes are killed. | ||
191 | |||
192 | The CPU limit is a limit on CPU seconds rather than elapsed | ||
193 | time. CPU seconds is basically how many seconds the CPU has | ||
194 | been in use and does not necessarily directly relate to the | ||
195 | elapsed time. Linux kernel keeps track of CPU seconds for each | ||
196 | process independently. | ||
197 | |||
198 | --timeout=hh:mm:ss | ||
199 | Kill the sandbox automatically after the time has elapsed. The | ||
200 | time is specified in hours/minutes/seconds format. | ||
201 | |||
202 | $ firejail --timeout=01:30:00 firefox | ||
203 | |||
182 | ````` | 204 | ````` |
183 | 205 | ||
184 | ## New profiles: | 206 | ## New profiles: |