3 ms·
nice! it would be cool (since it's in Go) how to use it like a library, sandboxing some exec directly from your code.
by aw4y 2y ago
nice! it would be cool (since it's in Go) how to use it like a library, sandboxing some exec directly from your code.
- NewJazz 2y agohttps://pkg.go.dev/github.com/landlock-lsm/go-landlock/landlock https://pkg.go.dev/github.com/landlock-lsm/go-landlock/landl...
- gnoack 2y ago(Author of that library here) It is a library, as already linked in the other comment: https://github.com/landlock-lsm/go-landlock https://github.com/landlock-lsm/go-landlock The landrun tool is built on the same library. We also provide an official library for Rust, and obviously you can do it from C as well. I also collected some libraries for other languages at https://wiki.gnoack.org/SoftwareUsingLandlock https://wiki.gnoack.org/SoftwareUsingLandlock (but I can not vouch for their quality in detail)
- Zoup 2y agoGreat job on the lib, thank you!