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

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


  Branch: refs/heads/stable/4.1
  Home:   https://github.com/MidnightBSD/src
  Commit: f914c8cb398c661d7ccb0207637432d6d56f91fe
      https://github.com/MidnightBSD/src/commit/f914c8cb398c661d7ccb0207637432d6d56f91fe
  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: 3582f92ee2123458cd3087eb58c98100a76cd23e
      https://github.com/MidnightBSD/src/commit/3582f92ee2123458cd3087eb58c98100a76cd23e
  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/8e343d4001bf...3582f92ee212

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