1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:57:34 +00:00

Mandelbrot: Pledge unix to enable image export

This commit is contained in:
EWouters 2023-08-16 20:58:10 +02:00 committed by Andreas Kling
parent 30cb4cb69b
commit 5defca01f0

View file

@ -398,7 +398,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
{ {
auto app = TRY(GUI::Application::create(arguments)); auto app = TRY(GUI::Application::create(arguments));
TRY(Core::System::pledge("stdio thread recvfd sendfd rpath wpath cpath")); TRY(Core::System::pledge("stdio thread recvfd sendfd rpath unix wpath cpath"));
#if 0 #if 0
TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil("/res", "r"));