mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-08 17:09:41 +00:00
HackStudio: add exec pledge
This commit is contained in:
parent
d063a4ccf3
commit
376fece51e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue