mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:17:35 +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)
|
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);
|
GApplication app(argc, argv);
|
||||||
|
|
||||||
Function<void()> update_actions;
|
Function<void()> update_actions;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue