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

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


  Branch: refs/heads/stable/4.0
  Home:   https://github.com/MidnightBSD/src
  Commit: cbea1b0cfd431357c7f56eb1cf62c7eaba722b91
      https://github.com/MidnightBSD/src/commit/cbea1b0cfd431357c7f56eb1cf62c7eaba722b91
  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: 8f879654c765c6fae5adb2d0d73b98895e692315
      https://github.com/MidnightBSD/src/commit/8f879654c765c6fae5adb2d0d73b98895e692315
  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/b4e150c5c1aa...8f879654c765

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