mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
SystemServer: Drop GID before dropping UID
Otherwise the setgid() will fail :^)
This commit is contained in:
parent
e60bbadbbc
commit
814346606f
1 changed files with 1 additions and 1 deletions
|
@ -93,8 +93,8 @@ int main(int, char**)
|
|||
start_process("/bin/TTYServer", { "tty3" }, highest_prio, "/dev/tty3");
|
||||
|
||||
// Drop privileges.
|
||||
setuid(100);
|
||||
setgid(100);
|
||||
setuid(100);
|
||||
|
||||
start_process("/bin/LookupServer", {}, lowest_prio);
|
||||
start_process("/bin/WindowServer", {}, highest_prio);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue