Files
ladybird/Servers/SystemServer/Service.cpp
Andreas Kling 0958d826d6 SystemServer: Call setgid() before setuid() when dropping privileges
Also add error checking and bail out if either call fails.
Doing it the wrong way around was causing us to retain GID=0 for all
processes (oops!)

Thanks to Chris Ball for reporting the bug. :^)
2020-01-02 23:36:21 +01:00

6.7 KiB