ret-clean is compatible with unhibernate again, due to a fix in
authorderaadt <deraadt@openbsd.org>
Fri, 7 Jun 2024 05:17:34 +0000 (05:17 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 7 Jun 2024 05:17:34 +0000 (05:17 +0000)
LLVM X86RetClean.cpp
issue observed by mglocker, diagnosed by mlarkin, kettenis, guenther.

sys/arch/amd64/conf/Makefile.amd64

index 263e7fe..aefa751 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile.amd64,v 1.136 2024/06/05 20:19:26 deraadt Exp $
+#      $OpenBSD: Makefile.amd64,v 1.137 2024/06/07 05:17:34 deraadt Exp $
 
 # For instructions on building kernels consult the config(8) and options(4)
 # manual pages.
@@ -73,7 +73,7 @@ CMACHFLAGS+=  -mno-retpoline -fcf-protection=none
 .endif
 .else
 CMACHFLAGS+=   -mretpoline-external-thunk -fcf-protection=branch
-#CMACHFLAGS+=  -fret-clean
+CMACHFLAGS+=   -fret-clean
 .endif
 .if ${COMPILER_VERSION:Mclang}
 NO_INTEGR_AS=  -no-integrated-as