CVSROOT:        /cvs
Module name:    ports
Changes by:     kette...@cvs.openbsd.org        2023/05/20 06:52:30

Modified files:
        lang/go        : Makefile 
        lang/go/patches: patch-src_cmd_link_internal_ld_elf_go 
                         patch-src_cmd_link_internal_ld_lib_go 
Added files:
        lang/go/patches: patch-src_debug_elf_elf_go 

Log message:
Since the Go compiler does not emit branch target landing pad instructions
on either amd64 or arm64, mark Go binaries with PT_OPENBSD_NOBTCFI such
that the kernel runs them without branch target CFI enforcement.

Hopefully the Go compiler will grow support for BTI/IBT at some point in
the near future.  At that point we should revisit marking the binaries.

ok jsing@

Reply via email to