mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 07:48:12 +00:00
ln: Use pledge()
This commit is contained in:
parent
03aea11589
commit
a5f0b2aef0
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,11 @@
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
if (pledge("stdio cpath", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
||||
bool symbolic = false;
|
||||
const char* target = nullptr;
|
||||
const char* path = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue