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
Notes: sideshowbarker 2024-07-16 19:42:24 +09:00

View File

@ -398,7 +398,7 @@ ErrorOr<int> serenity_main(Main::Arguments 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
TRY(Core::System::unveil("/res", "r"));