2 ms·
Skimmed the code, seems like https://humungus.tedunangst.com/r/pledge/v/tip/f/pledge.go https://humungus.tedunangst.com/r/pledge/v/tip/f/pledge.go ought to call
by evmar 3y ago
Skimmed the code, seems like https://humungus.tedunangst.com/r/pledge/v/tip/f/pledge.go https://humungus.tedunangst.com/r/pledge/v/tip/f/pledge.go ought to call xUnveilEnd() (...right?)
- twiss 3y agoSeems like it, though he mentions in the post that you can call pledge (without "unveil") after unveil to prevent further changes (and it'll handle committing the changes on Linux, which isn't necessary on OpenBSD), to achieve the same thing.