Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1b1e4d08c01c0a255a2cc64c6d47393bef0b8c29
https://github.com/WebKit/WebKit/commit/1b1e4d08c01c0a255a2cc64c6d47393bef0b8c29
Author: Marcus Plutowski <[email protected]>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M Source/bmalloc/libpas/src/libpas/pas_mte_config.c
Log Message:
-----------
[libpas] Fix initialization check for LDM state
https://bugs.webkit.org/show_bug.cgi?id=302368
rdar://164221665
Reviewed by Keith Miller.
The sysctl check was always returning 0 due to a sandbox restriction
imposed on the process. As such, we instead need to either use an
entitlement check or check for the process name. The former has
complications of its own, as we're doing this check within libpas and
don't have access to WTF primitives, while the latter is relatively
foolproof, if ugly -- so that's what this patch does.
* Source/bmalloc/libpas/src/libpas/pas_mte_config.c:
(pas_mte_do_initialization):
Originally-landed-as: 301765.319@safari-7623-branch (12730b2c2c4b).
rdar://174958719
Canonical link: https://commits.webkit.org/311885@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications