Hi, On Tue, Dec 01, 2026 at 07:40:20PM -0500, Robson Pereira wrote: > Before writing any code I'd like to ask whether an optional, Linux-only > sandbox based on Landlock would be welcome, and if so, how you'd want it > scoped.
I think the suggested approach is reasonable, and would like to see
it happen. I'd go along with most of your suggestions for the first
round :-)
A few notes
- have a look at OpenSSH, how they do their sandboxing across various
OSes, and if we can learn about it
- please do not make the option "--landlock", but more something
extensible for when we add, say, macOS sandboxing - so maybe
"--sandbox landlock"? Not sure this is the best way, but creating
very platform specific options is generally making later extensibility
more painful.
- use of AI is fine, but you(!) own the code, and take responsibility,
so please be sure you fully understand what you submit.
- patch granularity - please don't go for a many-patches set, because
"more patches = more work for me". I think this can be done with just
one larger patch - you need configure & unit test to test the actual
code, so the only thing that could be reasonably split off is
"options.c for the generic parts", and those are just a few lines
which doesn't make much sense.
- documentation, of course ;-)
gert
--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
