mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Use `task_read_for_pid()` rather than having the crashing program pass its own task port through. This opts us in to additional OS security measures surrounding the use of this call. rdar://107362003
What is this? ============= The libexec directory contains the source code for auxiliary executables that ship with the Swift runtime, as opposed to being part of the toolchain. On UNIX-like platforms, if the runtime is installed in /usr/lib/swift (for instance), these are things that you would expect to find in /usr/libexec/swift.