mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 04:52:23 +00:00
parent
1f75dfd95d
commit
8249e666fc
Notes:
sideshowbarker
2024-07-19 09:20:28 +09:00
Author: https://github.com/shannonbooth
Commit: 8249e666fc
Pull-request: https://github.com/SerenityOS/serenity/pull/1220
1 changed files with 2 additions and 2 deletions
|
@ -70,12 +70,12 @@ int main(int argc, char** argv)
|
||||||
perror("setgroups");
|
perror("setgroups");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
rc = setgid(uid);
|
rc = setgid(gid);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
perror("setgid");
|
perror("setgid");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
rc = setuid(gid);
|
rc = setuid(uid);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
perror("setuid");
|
perror("setuid");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue