]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sigqueue(2): add impl-specific flag __SIGQUEUE_TID
authorKonstantin Belousov <kib@FreeBSD.org>
Fri, 19 Apr 2024 14:29:05 +0000 (17:29 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 23 Apr 2024 16:51:09 +0000 (19:51 +0300)
commit53186bc1435e2c3ccf9c2124c066a08c6a80c504
treeb67b72228e2ca43713052240d273bb9c4077869c
parent0c11c1792b139baffbf74e5f1c6fe065708301cc
sigqueue(2): add impl-specific flag __SIGQUEUE_TID

The flag allows the pid argument to designate a thread from the calling
process.  The flag value is carved from the high bit of the signal
number, which slightly changes the ABI of syscall.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D44867
sys/kern/kern_sig.c
sys/sys/signal.h