Skip to content

Conversation

devincoughlin
Copy link
Contributor

Add a new "Security" build settings group and an
"Enhanced Security" build setting that enables a number of security settings at once, including:
* Enabling pointer authentication
* Enabling the typed allocator
* Enabling hardened libc++
* Enabling stack zero initialization
* Enabling security relevant compiler warnings

The goal is that enabling the Enhanced Security build setting should enable all of these other settings by default and that projects will be able to explicitly disable individual settings if needed.

rdar://151195113

Add a new "Security" build settings group and an
"Enhanced Security" build setting that enables a number of security
settings at once, including:
    * Enabling pointer authentication
    * Enabling the typed allocator
    * Enabling hardened libc++
    * Enabling stack zero initialization
    * Enabling security relevant compiler warnings

The goal is that enabling the Enhanced Security build setting
should enable all of these other settings by default and that
projects will be able to explicitly disable individual settings if needed.

rdar://151195113
@jakepetroules
Copy link
Collaborator

GitHub actions: the Windows failure is a known issue which I fixed on main in #647 and should probably cherry-pick back to release/6.2. The Linux failures on Focal are irrelevant because Swift 6.2 will not support Focal beginning one week from today.

@jakepetroules
Copy link
Collaborator

@swift-ci test

@jakepetroules
Copy link
Collaborator

@swift-ci test linux

@jakepetroules
Copy link
Collaborator

Ignore Focal CI failures, that was removed in #676. Ignore Windows 2022 too, there's a fix that needs to be brought back from the main branch.

@devincoughlin
Copy link
Contributor Author

It looks good otherwise. I don't have privileges to merge. @jakepetroules can you do that for me?

@jakepetroules jakepetroules merged commit b233171 into swiftlang:release/6.2 Jul 29, 2025
21 of 24 checks passed
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.

3 participants