For file/line breakpoints, create secure bookmarks for maintaining access.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 7 Dec 2019 21:35:07 +0000 (16:35 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 7 Dec 2019 21:35:07 +0000 (16:35 -0500)
commit1603d8d995220f0b81dcd98915f3d6c8ffe25895
tree1d164ab209f2db2b6e69209f8a0710cb4150321e
parent76e165291d00259082b3aa5cca93d9ad04f67d93
For file/line breakpoints, create secure bookmarks for maintaining access.

Under the app sandbox, the program only has access to user-selected
files, unless it creates bookmarks for them. Each file bookmark (even
for the same file, for simplicity) now gets a bookmark when it is
created.

https://developer.apple.com/library/archive/documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW16
MacGDBp.entitlements
Source/BSLineNumberRulerView.mm
Source/Breakpoint.h
Source/Breakpoint.m
Source/BreakpointController.m
Source/BreakpointManager.m