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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue