File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,8 @@ landrun --rox /usr strace -f -e trace=all ls
181181landrun --rox /usr --ro /etc --env HOME --env PATH --env CUSTOM_VAR=my_value -- env
182182```
183183
184+ This example passes the current HOME and PATH variables, plus a custom variable named CUSTOM_VAR.
185+
18418613 . Run command with explicity access to files instead of directories:
185187``` bash
186188landrun --rox /usr/lib/libc.so.6 --rox /usr/lib64/ld-linux-x86-64.so.2 --rox /usr/bin/true /usr/bin/true
@@ -200,8 +202,6 @@ landrun --ldd --add-exec /usr/bin/true
200202
201203Note that shared libs always need exec permission due to how they are loaded, PROT_EXEC on mmap() etc.
202204
203- This example passes the current HOME and PATH variables, plus a custom variable named CUSTOM_VAR.
204-
205205## Systemd Integration
206206
207207landrun can be integrated with systemd to run services with enhanced security. Here's an example of running nginx with landrun:
You can’t perform that action at this time.
0 commit comments