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.
This commit is contained in:
Ömer Kurttekin 2021-05-15 15:00:23 +03:00 committed by GitHub
parent ed81eb610d
commit e0a68d4b6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: sideshowbarker 2024-07-18 18:06:35 +09:00

View file

@ -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;
}