mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 19:19:44 +03:00
43903aa960
If we try to launch a lazily-spawned service and the SystemServer as a (running --user) session leader is running with root permissions, then if it is instructed to drop the root permissions for a the new service then it will make sense to abort the entire spawn procedure if dropping of privileges failed. For other users, trying to change UID/GID to something else doesn't make sense (and will always actually fail) as we are already running in non root permissions, hence we don't attempt to do this anymore. It should be noted that if an explicit User configuration was actually specified for a Service to be used with, we would still try to login with the requested User option value, which would fail when running as non-root user. This is useful for example when trying to run the pro utility with pls to elevate to root permissions, but the session leader is still the same so trying to "drop" privileges to UID 0 doesn't make sense. |
||
---|---|---|
.. | ||
AudioServer | ||
ChessEngine | ||
Clipboard | ||
ConfigServer | ||
CrashDaemon | ||
DHCPClient | ||
EchoServer | ||
FileOperation | ||
FileSystemAccessServer | ||
ImageDecoder | ||
KeyboardPreferenceLoader | ||
LaunchServer | ||
LoginServer | ||
LookupServer | ||
NetworkServer | ||
NotificationServer | ||
RequestServer | ||
SpiceAgent | ||
SQLServer | ||
SystemServer | ||
Taskbar | ||
TelnetServer | ||
WebContent | ||
WebDriver | ||
WebServer | ||
WebSocket | ||
WindowServer | ||
CMakeLists.txt |