Changeset 207807 in webkit
- Timestamp:
- Oct 24, 2016 10:22:40 PM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r207769 r207807 1 2016-10-24 Dan Bernstein <mitz@apple.com> 2 3 REGRESSION (r206410): Sandbox violations beneath WebProcessProxy::platformIsBeingDebugged 4 https://bugs.webkit.org/show_bug.cgi?id=163879 5 <rdar://problem/28728735> 6 7 Reviewed by Darin Adler. 8 9 * UIProcess/Cocoa/WebProcessProxyCocoa.mm: 10 (WebKit::WebProcessProxy::platformIsBeingDebugged): Check if the current process, which is 11 the UI process, is sandboxed before trying to find out if the Web process is being 12 debugged. 13 1 14 2016-10-21 Alex Christensen <achristensen@webkit.org> 2 15 -
trunk/Source/WebKit2/UIProcess/Cocoa/WebProcessProxyCocoa.mm
r206410 r207807 28 28 29 29 #import "ObjCObjectGraph.h" 30 #import "SandboxUtilities.h" 30 31 #import "WKBrowsingContextControllerInternal.h" 31 32 #import "WKBrowsingContextHandleInternal.h" … … 124 125 bool WebProcessProxy::platformIsBeingDebugged() const 125 126 { 127 // If the UI process is sandboxed, it cannot find out whether other processes are being debugged. 128 if (processIsSandboxed(getpid())) 129 return false; 130 126 131 struct kinfo_proc info; 127 132 int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, processIdentifier() };
Note: See TracChangeset
for help on using the changeset viewer.