Skip to content

Commit d4c2ad8

Browse files
authored
Merge pull request #22 from mrothNET/readme_fix
Update README.md
2 parents 1a5085c + 119618a commit d4c2ad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ landrun --rox /usr strace -f -e trace=all ls
181181
landrun --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+
184186
13. Run command with explicity access to files instead of directories:
185187
```bash
186188
landrun --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

201203
Note 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

207207
landrun can be integrated with systemd to run services with enhanced security. Here's an example of running nginx with landrun:

0 commit comments

Comments
 (0)