kuijsten
bonked 26 Oct 2024 16:08 +0200
original: brynet@bsd.network
Thanks to jsing@, #OpenBSD's Go port (lang/go) now supports branch tracking control flow integrity (BTCFI) and enabled it by default on arm64/amd64, for Intel 11th Gen+ and Apple M2. jsing@ modified ports/lang/go/*: Add branch tracking control flow integrity (BTCFI) support to lang/go. This adds BTCFI support to lang/go on arm64 (in the form of BTI) and amd64 (in the form of IBT). Resulting Go binaries are no longer marked with OPENBSD_NOBTCFI. Thanks to sthen@ and tb@ for testing. ok tb@ And _MODGO_SYSTEM_VERSION has been bumped to force recompiling of Go packages. Bump _MODGO_SYSTEM_VERSION due to lang/go BTCFI support. Also remove USE_NOBTCFI, since this is no longer the case on amd64 and arm64 (the flag is still set on other architectures for the time being, but this is ineffective). ok sthen@