Re:Some thoughts on security after ten years of Qmail 1.0
by geocar on Wednesday January 17, 2018 @04:21PM
(#16171938)
> By "does not move us any closer" I don't believe he wants us to do it at all.
Then take a look at § 5.1 of the paper which gives a clearer example with which to draw the distinction.
Eliminating trusted code is what you're doing by decorating uncompress with pledge() with any capability to acquire resources; anything beyond stdio (or seccomp)
Minimizing privilege means focusing on finding some other argument for pledge().
> I have become convinced that this “principle of least privilege” is fundamentally wrong. Minimizing privilege might reduce the damage done by some security holes but almost never fixes the holes. Minimizing privilege is not the same as minimizing the amount of trusted code, does not have the same benefits as minimizing the amount of trusted code, and does not move us any closer to a secure computer system.
By "does not move us any closer" I don't believe he wants us to do it at all.