On 2020/04/15 13:16, Stuart Henderson wrote:
> Looks like we should have bumped _SYSTEM_VERSION-aarch64 when this
> was changed - binaries from before this die with "Trace/BPT trap (core 
> dumped)"
> and there's nothing triggering an automatic update from pkg_add -u.
> 
> OK to do that now?

+ same for arm.

> ---------------------
> Date: 2020/02/16 09:33:47
> Author: kettenis
> Branch: HEAD
> Tag: (none)
> Log:
> Change arm64 system call ABI to skip two instructions.  This allows us to
> insert a barrier after each system call to address a speculative execution
> issue discovered by Anthony Steinhauser.
> 
> A change to insert two nop instructions after each system call instruction
> in crt0.o/libc/ld.so has been committed a few weeks ago, so the transition
> should go smoothly.  However, old static binaries and binaries that roll
> their own syscalls (like go) will no longer work.  Snapshot packages
> that work with the new syscall ABI are available (including a fixed go).
> 
> Together with deraadt@ and guenther@
> ok deraadt@
> 
> Members:
>         arm64/locore.S:1.28->1.29
>         arm64/syscall.c:1.4->1.5
> ---------------------
> 
> Index: arch-defines.mk
> ===================================================================
> RCS file: /cvs/ports/infrastructure/mk/arch-defines.mk,v
> retrieving revision 1.71
> diff -u -p -r1.71 arch-defines.mk
> --- arch-defines.mk   4 Apr 2020 19:35:44 -0000       1.71
> +++ arch-defines.mk   15 Apr 2020 12:15:36 -0000
> @@ -85,7 +85,7 @@ LLD_EMUL =
>  
>  # system version wide specifics
>  _SYSTEM_VERSION = 1
> -_SYSTEM_VERSION-aarch64 = 3
> +_SYSTEM_VERSION-aarch64 = 4
>  _SYSTEM_VERSION-amd64 = 4
>  _SYSTEM_VERSION-arm = 3
>  _SYSTEM_VERSION-i386 = 2
> 

Reply via email to