Skip to content

Commit

Permalink
HackStudio: add exec pledge
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs authored and awesomekling committed Jan 16, 2020
1 parent d063a4c commit 376fece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DevTools/HackStudio/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ bool make_is_available();

int main(int argc, char** argv)
{
if (pledge("stdio tty rpath cpath wpath shared_buffer proc unix fattr", nullptr) < 0) {
if (pledge("stdio tty rpath cpath wpath shared_buffer proc exec unix fattr", nullptr) < 0) {
perror("pledge");
return 1;
}

GApplication app(argc, argv);

if (pledge("stdio tty rpath cpath wpath shared_buffer proc fattr", nullptr) < 0) {
if (pledge("stdio tty rpath cpath wpath shared_buffer proc exec fattr", nullptr) < 0) {
perror("pledge");
return 1;
}
Expand Down

0 comments on commit 376fece

Please sign in to comment.