Skip to content

Commit

Permalink
[macOS] Enable blocking of launchd in sandbox
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=255238
rdar://107557660

Reviewed by Geoffrey Garen.

Enable blocking of launchd in sandbox on macOS.

* Source/WTF/wtf/PlatformEnableCocoa.h:

Canonical link: https://commits.webkit.org/262847@main
  • Loading branch information
pvollan committed Apr 11, 2023
1 parent 5df7b74 commit 18a93f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/WTF/wtf/PlatformEnableCocoa.h
Expand Up @@ -885,7 +885,9 @@
#define ENABLE_CARENDERSERVER_BLOCKING_IN_WEBCONTENT 1
#endif

#if !defined(ENABLE_LAUNCHD_BLOCKING_IN_WEBCONTENT) && PLATFORM(IOS_FAMILY)
#if !defined(ENABLE_LAUNCHD_BLOCKING_IN_WEBCONTENT) \
&& ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 140000) \
|| PLATFORM(IOS_FAMILY))
#define ENABLE_LAUNCHD_BLOCKING_IN_WEBCONTENT 1
#endif

Expand Down

0 comments on commit 18a93f5

Please sign in to comment.