mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:58:11 +00:00
HackStudio: Use pledge()
This commit is contained in:
parent
c13328bd2b
commit
457c7d9efd
1 changed files with 5 additions and 0 deletions
|
@ -96,6 +96,11 @@ bool make_is_available();
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
if (pledge("stdio tty rpath cpath wpath shared_buffer proc unix fattr", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
||||
GApplication app(argc, argv);
|
||||
|
||||
Function<void()> update_actions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue