Skip to content

[Backtracing] Security improvements. #65066

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 13, 2023
Merged

Conversation

al45tair
Copy link
Contributor

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

@al45tair
Copy link
Contributor Author

@swift-ci Please test

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
@al45tair
Copy link
Contributor Author

@swift-ci Please test

Using the hardened runtime for tests doesn't work.

rdar://107362003
@al45tair
Copy link
Contributor Author

@swift-ci Please smoke test

1 similar comment
@al45tair
Copy link
Contributor Author

@swift-ci Please smoke test

For some reason it wants two blank lines instead of one here.

rdar://107362003
@al45tair
Copy link
Contributor Author

@swift-ci Please smoke test

@al45tair al45tair merged commit ed6fcdd into swiftlang:main Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants