https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246385

--- Comment #1 from commit-h...@freebsd.org ---
A commit references this bug:

Author: kib
Date: Mon May 11 22:38:32 UTC 2020
New revision: 360940
URL: https://svnweb.freebsd.org/changeset/base/360940

Log:
  sigfastblock: fix delivery of the pending signals in single-threaded
processes.

  If single-threaded process receives a signal during critical section
  established by sigfastblock(2) word, unblock did not caused signal
  delivery because sigfastblock(SIGFASTBLOCK_UNBLOCK) failed to request
  ast handling of the pending signals.

  Set TDF_ASTPENDING | TDF_NEEDSIGCHK on unblock or when kernel forces
  end of sigfastblock critical section, to cause syscall exit to recheck
  and deliver any signal pending.

  Reported by:  corydo...@ridiculousfish.com
  PR:   246385
  Sponsored by: The FreeBSD Foundation

Changes:
  head/sys/kern/kern_sig.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to