News for hackers. Stuff that matters.
Re:State of Linux Desktop Security by nwmcsween on Thursday June 18, 2020 @02:58AM (#23560499)
And that defeats a large portion of how programs work by first having root to bind to low ports, etc then forking a worker not to mention you have to restructure your program for seccomp vs ifdef for pledge. There are a bunch of ways of sandboxing on Linux but not many projects use it because implementing it is just painful, compared to pledge even external projects outside of openbsd will accept simple ifdef patches to support easy sandboxing.
Re:State of Linux Desktop Security by viraptor on Thursday June 18, 2020 @09:49AM (#23563067)
Fortunately socket activation is gaining support. The whole idea of having a privileged process just to bind can be skipped. But even without it, I'm not sure why it matters for seccomp - you bind then you apply the policy. Just like typically you first bind, then setuid.