mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +00:00
parent
1f75dfd95d
commit
8249e666fc
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
Add a link
Reference in a new issue