mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
Mandelbrot: Pledge unix
to enable image export
This commit is contained in:
parent
30cb4cb69b
commit
5defca01f0
Notes:
sideshowbarker
2024-07-16 19:42:24 +09:00
Author: https://github.com/EWouters Commit: https://github.com/SerenityOS/serenity/commit/5defca01f0 Pull-request: https://github.com/SerenityOS/serenity/pull/20606
@ -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"));
|
||||||
|
Loading…
Reference in New Issue
Block a user