mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
LibC: Implement support for getspnam() and friends
This commit is contained in:
parent
ce77caf479
commit
302f9798ee
7 changed files with 356 additions and 61 deletions
|
@ -64,7 +64,7 @@ int main(int argc, char** argv)
|
|||
|
||||
setpwent();
|
||||
|
||||
if (pledge("stdio wpath cpath fattr tty", nullptr) < 0) {
|
||||
if (pledge("stdio wpath rpath cpath fattr tty", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ int main(int argc, char** argv)
|
|||
target_account.set_password(new_password.value().characters());
|
||||
}
|
||||
|
||||
if (pledge("stdio wpath cpath fattr", nullptr) < 0) {
|
||||
if (pledge("stdio wpath rpath cpath fattr", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue