2 ms·
Well, the article actually attempts to use pledge to do just that. This results in a nice article that teaches a bit about pledge, sandboxing, and ktrace. The
by protomyth 9y ago
Well, the article actually attempts to use pledge to do just that. This results in a nice article that teaches a bit about pledge, sandboxing, and ktrace.
The conclusion does explain why pledge would be a poor generic sandbox.
This point has been made from the early days, but I think this exercise reinforces it, that pledge works best with programs where you understand what the program is doing. A generic pledge wrapper isn’t of much use because the program is going to do something unexpected and you’re going to have a hard time wrangling it into submission.
- notaplumber 9y agoSorry, this was more for HN readers benefit. I know he's writing this from a developers perspective.