mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-08 23:42:53 +03:00
parent
1f75dfd95d
commit
8249e666fc
Notes:
sideshowbarker
2024-07-19 09:20:28 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/8249e666fca Pull-request: https://github.com/SerenityOS/serenity/pull/1220
@ -70,12 +70,12 @@ int main(int argc, char** argv)
|
||||
perror("setgroups");
|
||||
return 1;
|
||||
}
|
||||
rc = setgid(uid);
|
||||
rc = setgid(gid);
|
||||
if (rc < 0) {
|
||||
perror("setgid");
|
||||
return 1;
|
||||
}
|
||||
rc = setuid(gid);
|
||||
rc = setuid(uid);
|
||||
if (rc < 0) {
|
||||
perror("setuid");
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user