News for hackers. Stuff that matters.
Re:Some thoughts on security after ten years of Qmail 1.0 by geocar on Wednesday January 17, 2018 @01:45PM (#16170543)
There's a point of subtlety remaining:

DJB isn't advocating against using seccomp or a pledge-equivalent.

DJB is advocating against stopping there.

Re:Some thoughts on security after ten years of Qmail 1.0 by viraptor on Wednesday January 17, 2018 @03:17PM (#16171383)
That's definitely not how I understand this DJB quote:

> 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.

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().