Repository navigation
Commit 274653e
feat(jail): add tinybox-jail, a per-process directory jail
Landlock (Linux), Seatbelt (macOS), AppContainer (Windows), a noop
fallback and a persistent JailRegistry, moved from the OpenHuman host.
A cwd jail confines one spawned Command to a directory tree, distinct
from the box-level namespace isolation in tinybox-linux. The Landlock
backend sits behind the `landlock` feature; the crate opts out of the
workspace unsafe_code forbid because it is Win32 FFI and pre_exec.
Co-authored-by: Medulla <medulla@tinyhumans.ai>1 parent 9b13861 commit 274653e
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
| 107 | + | |
| 108 | + | |
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
| 112 | + | |
106 | 113 | | |
107 | 114 | | |
108 | 115 | | |
| |||
0 commit comments