landdown
Simple Sandboxing for shell scripts.
git clone git://mccd.space/landdowncommit c53b8baf78dfe2cb11b5d65bcbb256f85737bb42
parent 5d7850fa54fd88a4622c9dd0e921c7228b032650
Author: Marc <marc@coquand.email>
Date: Tue, 31 Mar 2026 16:50:46 +0200
docs
Diffstat:
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
@@ -1,6 +1,6 @@
# Landdown - Simple shell script sandbox
-A minimal Linux utility tool for sandboxing shell scripts using [landlock](https://landlock.io). To use, prepend your script with landdown and rules. Here is a basic example:
+A minimal Linux utility tool for sandboxing shell scripts using [landlock](https://landlock.io). To use, prepend your script with landdown and rules. For example:
```sh
#!/usr/bin/env landdown
@@ -17,9 +17,9 @@ The syntax is:
```
#!/usr/bin/env landdown
-<directives...>
-#!<interpreter>
-script content
+rules...
+#!/interpreter
+script content...
```
## Install
@@ -42,8 +42,6 @@ connect <port>
Each directive can be used zero or more times.
-`ro`, `rw` and `rwf` give execute access.
-
## Examples
### Hello world