Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 43c46e90c40092e5bcc033ef8be07be56f3401c1 https://github.com/WebKit/WebKit/commit/43c46e90c40092e5bcc033ef8be07be56f3401c1 Author: Per Arne Vollan <pvol...@apple.com> Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths: M Source/WTF/wtf/spi/darwin/SandboxSPI.h M Source/WebCore/testing/Internals.cpp M Source/WebCore/testing/Internals.h M Source/WebCore/testing/Internals.idl M Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in M Source/WebKit/WebProcess/com.apple.WebProcess.sb.in M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj A Tools/TestWebKitAPI/Tests/WebKit/SyscallUnixSandboxCheck.mm Log Message: ----------- Block syscall related to signal handling https://bugs.webkit.org/show_bug.cgi?id=246020 <rdar://100604972> Reviewed by Youenn Fablet. The syscall SYS_sigreturn was unblocked in <https://commits.webkit.org/255036@main>, but it turns out it is sufficient to block it without the default process termination behavior. Test: WebKit.SyscallUnixSandboxCheck * Source/WTF/wtf/spi/darwin/SandboxSPI.h: * Source/WebCore/testing/Internals.cpp: (WebCore::Internals::hasSandboxMachLookupAccessToXPCServiceName): (WebCore::Internals::hasSandboxUnixSyscallAccess): * Source/WebCore/testing/Internals.cpp.orig: Copied from Source/WebCore/testing/Internals.cpp. * Source/WebCore/testing/Internals.h: * Source/WebCore/testing/Internals.idl: * Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in: * Source/WebKit/WebProcess/com.apple.WebProcess.sb.in: * Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * Tools/TestWebKitAPI/Tests/WebKit/SyscallUnixSandboxCheck.mm: Added. (TEST): Canonical link: https://commits.webkit.org/255462@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes