CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2024/04/09 12:44:31
Modified files:
lang/ruby/3.1 : Tag: OPENBSD_7_5 Makefile
lang/ruby/3.2 : Tag: OPENBSD_7_5 Makefile
lang/ruby/3.3 : Tag: OPENBSD_7_5 Makefile
Added files:
lang/ruby/3.1/patches: Tag: OPENBSD_7_5
patch-coroutine_amd64_Context_S
lang/ruby/3.2/patches: Tag: OPENBSD_7_5
patch-coroutine_amd64_Context_S
lang/ruby/3.3/patches: Tag: OPENBSD_7_5
patch-coroutine_amd64_Context_S
Log message:
Add _CET_ENDBR to amd64 coroutine code
I originally thought this issue was post-7.5, but after getting
access to a 7.5 machine with IBT, I confirmed it affects 7.5.
This fixes SIGILL/ILL_BTCFI for the following example code:
mutex = Mutex.new
mutex.synchronize { Fiber.new { mutex.owned? }.resume }
Thanks to tb@ for following up with me regarding this.
Issue reported by jcs@
Tested by jcs@
OK jcs@