Changeset 294809 in webkit
- Timestamp:
- May 25, 2022 11:01:30 AM (2 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/Platform/Logging.h
r290085 r294809 94 94 M(Resize) \ 95 95 M(ResourceLoadStatistics) \ 96 M(Sandbox) \ 96 97 M(ScrollAnimations) \ 97 98 M(Scrolling) \ -
trunk/Source/WebKit/Shared/Cocoa/SandboxExtensionCocoa.mm
r293595 r294809 33 33 #import "Decoder.h" 34 34 #import "Encoder.h" 35 #import "Logging.h" 35 36 #import "WebCoreArgumentCoders.h" 36 37 #import <string.h> … … 338 339 // Unblocking launchd is done by enabling a sandbox state variable. 339 340 // In the initial version of this change, Mach bootstrap'ing is enabled unconditionally. 340 if (auditToken) 341 sandbox_enable_state_flag(ENABLE_MACH_BOOTSTRAP, *auditToken); 341 if (auditToken) { 342 if (!sandbox_enable_state_flag(ENABLE_MACH_BOOTSTRAP, *auditToken)) 343 RELEASE_LOG_FAULT(Sandbox, "Could not enable Mach bootstrap, errno = %d.", errno); 344 } else if (machBootstrapOptions == MachBootstrapOptions::EnableMachBootstrap) 345 RELEASE_LOG_FAULT(Sandbox, "Could not enable Mach bootstrap, no audit token provided."); 342 346 #endif 343 347
Note: See TracChangeset
for help on using the changeset viewer.