News for hackers. Stuff that matters.
Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe... by dharmab on Wednesday October 24, 2018 @02:12PM (#18294909)
Capabilities do this. It's the same mechanic used by containers to restrict their access. See man capabilities(7)
Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe... by drb91 on Wednesday October 24, 2018 @02:18PM (#18294949)
Seems to be linux only at first blush.
Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe... by akavel on Wednesday October 24, 2018 @02:47PM (#18295229)
I'm ok with focusing on Linux as the prime target for up. Though I'm totally trying to think about cross-platform approaches too, obviously.
Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe... by codetrotter on Wednesday October 24, 2018 @03:09PM (#18295434)
FreeBSD has a capabilities system called “Capsicum”.

https://www.freebsd.org/cgi/man.cgi?capsicum(4)

https://wiki.freebsd.org/Capsicum

https://www.cl.cam.ac.uk/research/security/capsicum/freebsd....

Capsicum is convoluted though.

OpenBSD has pledge and unveil, which from what I have seen are very elegant.

https://man.openbsd.org/pledge.2

https://man.openbsd.org/unveil