Skip to content

Merge main into package #4961

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 14 commits into from
May 20, 2024
Merged

Merge main into package #4961

merged 14 commits into from
May 20, 2024

Conversation

parkera
Copy link
Contributor

@parkera parkera commented May 20, 2024

No description provided.

al45tair and others added 14 commits February 22, 2024 10:49
Normally, distro maintainers will tell libcurl where to look when they
build it, and up to now we've been relying on that.  That doesn't work
for the fully static Linux build, where we're building our own libcurl,
and where the idea is that we'll run on any old Linux system.

To make TLS work under that circumstance, we'll need to look in a few
likely places for CA root files.  We only do this if libcurl doesn't
already know where to look.

rdar://123434144
`curl` versions before 7.84.0 don't have `CURLINFO_CAINFO`, so we
can't tell whether they've got an existing path for the CA roots
in that case.

We should disable the automatic search in that case, because it
would override the baked-in default.

rdar://123434144
In __CFWriteBytesToFileWithAtomicity(), we first write the contents of the plist
to an auxiliary copy file, and then move that copy to where the original used to
be. Because that file needs to have the same owner as the original, we would use
chown() to change ownership as the last step. This allows a race condition where
the new file is in its final location, but doesn't have the correct permissions.
To fix this, call chown() on the file before moving.

rdar://121597642
On Xcode 14 or later, `CODE_SIGN_IDENTITY` should be set to "Sign to Run Locally".
…date-toolchain-installation-link

[Docs/GettingStarted] Update macOS toolchain installation link
…d-on-macos

Fix TestFoundation build on macOS local development
add Sendable conformance to NSLock
[Networking] Search for CA roots if libcurl doesn't know where they are.
@parkera parkera merged commit 927e685 into swiftlang:package May 20, 2024
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.

5 participants