git: kernel: report the sender in sigwaitinfo() and sigtimedwait()
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Wed Nov 18 15:46:33 PST 2026
commit 4a7aa99203a67790ea5be96b7efdea36878b92f9
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date: Wed Nov 18 23:22:51 2026 +0100
kernel: report the sender in sigwaitinfo() and sigtimedwait()
kern_sigtimedwait() returned only si_signo. lwpsignal() records the
sender's pid and uid in ps_frominfo[] for every signal it posts, and
sendsig() copies them into the siginfo of an SA_SIGINFO handler, but a
signal taken with sigwaitinfo() or sigtimedwait() came back with si_pid
and si_uid 0.
Bug: https://bugs.dragonflybsd.org/issues/3471
Reviewed-by: @dillon
Summary of changes:
sys/kern/kern_sig.c | 2 ++
1 file changed, 2 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4a7aa99203a67790ea5be96b7efdea36878b92f9
--
DragonFly BSD source repository
More information about the Commits
mailing list