mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 18:37:58 +03:00
Playground: Remove redundant pledge()
This commit is contained in:
parent
595ebe215b
commit
2b47e1233b
Notes:
sideshowbarker
2024-07-17 22:58:11 +09:00
Author: https://github.com/bugreport0 Commit: https://github.com/SerenityOS/serenity/commit/2b47e1233b8 Pull-request: https://github.com/SerenityOS/serenity/pull/11211
@ -65,8 +65,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
TRY(Core::System::pledge("stdio thread recvfd sendfd cpath rpath wpath unix"));
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
|
||||
TRY(Core::System::pledge("stdio thread recvfd sendfd rpath cpath wpath unix"));
|
||||
|
||||
TRY(Desktop::Launcher::add_allowed_handler_with_only_specific_urls("/bin/Help", { URL::create_with_file_protocol("/usr/share/man/man1/Playground.md") }));
|
||||
TRY(Desktop::Launcher::seal_allowlist());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user