Expand description
Broker startup privilege checks.
The broker control socket is a per-user boundary. Starting it as root or Windows LocalSystem would make that boundary ambiguous, so the binary refuses privileged startup unless a test environment explicitly opts out.
Enums§
- Privilege
Error - Errors returned while checking broker startup privileges.
- Privileged
Identity - Privileged identities that are forbidden for the broker by default.
Constants§
- ALLOW_
PRIVILEGED_ ENV - Environment variable that permits privileged broker startup.
Functions§
- refuse_
privileged_ run - Refuse to start the broker when the current process is privileged.