On 2020-01-31 12:16, KatolaZ wrote:
> For instance, golang has had native support
> for pledge(2) and unveil(2) for a while now.

The semantics are a little different to C unveil but it certainly works and
bundled by default in the golang.org/x. Not sure the documentation is great.

It's a little ironic that whilst golangs smallest binary (ignoring tinygo) is >
2 megabytes preventing generic use. One of the main incentives for it's initial
development was to have something somewhat like C whilst avoiding compiling
unused dependencies and speedup build times. It has found a good place between C
and the montrosity of java and I expect will replace java slowly but likely not
C. Unless unix dies from the systemd treatment (I'm confident it won't in 
OpenBSD)

Reply via email to