[Midnightbsd-cvs] [MidnightBSD/src] 423f5c: arm64: fix freebsd32 context syscall returns

Lucas Holt noreply at github.com
Tue Jun 30 16:54:27 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 423f5cbcad83e7e905080777f5404fba0060a2c7
      https://github.com/MidnightBSD/src/commit/423f5cbcad83e7e905080777f5404fba0060a2c7
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-30 (Tue, 30 Jun 2026)

  Changed paths:
    M sys/arm64/arm64/freebsd32_machdep.c

  Log Message:
  -----------
  arm64: fix freebsd32 context syscall returns

Return EJUSTRETURN after successful freebsd32 setcontext(2) and swapcontext(2) on arm64 so restored contexts are not reported to userland as failed syscalls.

This matches the native context syscall behavior and addresses FreeBSD-EN-26:16.arm64.

Signed-off-by: Lucas Holt <luke at foolishgames.com>

AI-Assisted-by: OpenAI Codex (GPT-5)


  Commit: 55850c118d6622f937f2efe8b4be100a13bbcdda
      https://github.com/MidnightBSD/src/commit/55850c118d6622f937f2efe8b4be100a13bbcdda
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-30 (Tue, 30 Jun 2026)

  Changed paths:
    M UPDATING

  Log Message:
  -----------
  UPDATING: note arm64 freebsd32 context fix

Signed-off-by: Lucas Holt <luke at foolishgames.com>

AI-Assisted-by: OpenAI Codex (GPT-5)


Compare: https://github.com/MidnightBSD/src/compare/a2fec94c18fe...55850c118d66

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list