Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now that cockpit-ws does not directly fork cockpit-session, and sessions run in their own service/cgroup, we can heavily lock down our webserver. (which is the weakest component in Cockpit). It now can't do anything any more except talking to cockpit-tls over stdin/out and cockpit-session over the Unix socket. Note that `DynamicUser=` already implies the biggest restrictions, such as `ProtectSystem=full`, `ProtectHome`, `PrivateTmp`, and more. But we can fine-tune it more. Fixes #21299 https://issues.redhat.com/browse/COCKPIT-1206
- Loading branch information