summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio
diff options
context:
space:
mode:
authorΓ–mer Kurttekin <o.kurttekin@hotmail.com>2021-05-15 15:00:23 +0300
committerGitHub <noreply@github.com>2021-05-15 13:00:23 +0100
commite0a68d4b6e9ecd8343bcb486c4ec7054b8e920c6 (patch)
treee7f60c595e762020df1fb66641dc0e5d5d6d69c7 /Userland/DevTools/HackStudio
parented81eb610ddd995fd690d9c17e08496b3b37e6e7 (diff)
downloadserenity-e0a68d4b6e9ecd8343bcb486c4ec7054b8e920c6.zip
HackStudio: Pledge "fattr"
HackStudio's pledges recently tightened due to changes in Core::EventLoop. However, it still needs the fattr pledge to be able to create a new project and set its permissions.
Diffstat (limited to 'Userland/DevTools/HackStudio')
-rw-r--r--Userland/DevTools/HackStudio/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/main.cpp b/Userland/DevTools/HackStudio/main.cpp
index 8efdd5f0be..b54d82e207 100644
--- a/Userland/DevTools/HackStudio/main.cpp
+++ b/Userland/DevTools/HackStudio/main.cpp
@@ -40,7 +40,7 @@ static void update_path_environment_variable();
int main(int argc, char** argv)
{
- if (pledge("stdio recvfd sendfd tty rpath cpath wpath proc exec unix thread ptrace", nullptr) < 0) {
+ if (pledge("stdio recvfd sendfd tty rpath cpath wpath proc exec unix fattr thread ptrace", nullptr) < 0) {
perror("pledge");
return 1;
}