Skip to content
Permalink
Browse files
[macOS] Initialize sandbox before initializing WebKit process
https://bugs.webkit.org/show_bug.cgi?id=234827

Reviewed by Brent Fulgham.

The sandbox should be initialized as early as possible in WebKit processes.

* Shared/AuxiliaryProcess.cpp:
(WebKit::AuxiliaryProcess::initialize):



Canonical link: https://commits.webkit.org/245691@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
pvollan committed Jan 4, 2022
1 parent 7ce8eb7 commit 8f62896e86ffdeb6c6aa3e7e8d28d1a2f6d8e191
Showing 2 changed files with 14 additions and 2 deletions.
@@ -1,3 +1,15 @@
2022-01-03 Per Arne Vollan <pvollan@apple.com>

[macOS] Initialize sandbox before initializing WebKit process
https://bugs.webkit.org/show_bug.cgi?id=234827

Reviewed by Brent Fulgham.

The sandbox should be initialized as early as possible in WebKit processes.

* Shared/AuxiliaryProcess.cpp:
(WebKit::AuxiliaryProcess::initialize):

2022-01-03 Stephan Szabo <stephan.szabo@sony.com>

[PlayStation] Build fix after r287552
@@ -78,11 +78,11 @@ void AuxiliaryProcess::initialize(const AuxiliaryProcessInitializationParameters
m_priorityBoostMessage = parameters.priorityBoostMessage;
#endif

initializeProcess(parameters);

SandboxInitializationParameters sandboxParameters;
initializeSandbox(parameters, sandboxParameters);

initializeProcess(parameters);

#if !LOG_DISABLED || !RELEASE_LOG_DISABLED
WTF::logChannels().initializeLogChannelsIfNecessary();
WebCore::logChannels().initializeLogChannelsIfNecessary();

0 comments on commit 8f62896

Please sign in to comment.