ln: Use pledge()
This commit is contained in:
parent
03aea11589
commit
a5f0b2aef0
Notes:
sideshowbarker
2024-07-19 09:14:02 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a5f0b2aef07
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
Reference in a new issue