[Midnightbsd-cvs] [MidnightBSD/src] 1ba691: linux: restore epoll_pwait signal masks correctly

Lucas Holt noreply at github.com
Sun Oct 4 01:20:01 EDT 2026


  Branch: refs/heads/stable/4.0
  Home:   https://github.com/MidnightBSD/src
  Commit: 1ba691161641f7a33604800384322fa0f7d89a2f
      https://github.com/MidnightBSD/src/commit/1ba691161641f7a33604800384322fa0f7d89a2f
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-10-04 (Sun, 04 Oct 2026)

  Changed paths:
    M sys/compat/linux/linux_event.c

  Log Message:
  -----------
  linux: restore epoll_pwait signal masks correctly

Save the prior mask in td_oldsigmask and restore it using the same interrupt handling as kern_pselect. Preserve epoll wait errors instead of replacing them with the mask restoration result.

Backported from FreeBSD stable/15 0143078248bb (PR 298878).

(cherry picked from commit 9450100ab628455e28be511a0e739f4069987c9a)

AI-Assisted-by: Codex GPT-6
Signed-off-by: Lucas Holt <luke at foolishgames.com>



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