freebsd-dev/sys
Konstantin Belousov 6814c2dac5 lio_listio(2): send signal even if number of jobs is zero.
Right now, if lio registered zero jobs, syscall frees lio job
structure, cleaning up queued ksi.  As result, the realtime signal is
dequeued and never delivered.

Fix it by allowing sendsig() to copy ksi when job count is zero.

PR: 220398
Reported and reviewed by:	asomers
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D27421
2020-12-01 22:53:33 +00:00
..
amd64 Add VT driver for VBE framebuffer device 2020-11-30 08:22:40 +00:00
arm Remove duplicated SV_ASLR from the elf flags. 2020-12-01 09:18:18 +00:00
arm64 [arm64] Bump MAXMEMDOM value to 8 to match amd64 2020-12-01 20:10:55 +00:00
bsm
cam mmccam: Convert some printf to CAM_DEBUG 2020-11-30 14:49:13 +00:00
cddl Fix syntax 2020-12-01 22:44:23 +00:00
compat Use function macro for sema_init() in the LinuxKPI to limit macro expansion scope. 2020-11-30 09:47:53 +00:00
conf Add VT driver for VBE framebuffer device 2020-11-30 08:22:40 +00:00
contrib Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
crypto Check cipher key lengths during probesession. 2020-11-05 23:31:58 +00:00
ddb Add a kstack_contains() helper function. 2020-12-01 17:04:46 +00:00
dev [arm64] Parse ACPI _PXM property on ARM64 platform 2020-12-01 20:27:06 +00:00
dts Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
fs Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
gdb gdb(4): Don't escape GDB special characters at application layer 2020-09-30 14:55:54 +00:00
geom Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
gnu Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
i386 Add VT driver for VBE framebuffer device 2020-11-30 08:22:40 +00:00
isa
kern lio_listio(2): send signal even if number of jobs is zero. 2020-12-01 22:53:33 +00:00
kgssapi State kgssapi dependency on xdr. 2020-09-17 22:29:38 +00:00
libkern arc4random(9): Integrate with RANDOM_FENESTRASX push-reseed 2020-10-10 21:48:06 +00:00
mips Make stack_save*() more robust on MIPS. 2020-12-01 17:17:22 +00:00
modules qat: Fix firmware module autoloading 2020-11-30 20:53:25 +00:00
net net: Revert vnet/epair cleanup race mitigation 2020-12-01 16:34:43 +00:00
net80211 net80211: fix a typo 2020-11-04 12:07:33 +00:00
netgraph ng_nat: unbreak ABI 2020-11-10 02:26:44 +00:00
netinet Remove RADIX_MPATH config option. 2020-11-29 19:43:33 +00:00
netinet6 Remove RADIX_MPATH config option. 2020-11-29 19:43:33 +00:00
netipsec Trigger soft lifetime expiration on sequence number 2020-10-16 11:27:01 +00:00
netpfil pf: Make tag hashing more robust 2020-11-24 16:18:47 +00:00
netsmb net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
nfs nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsclient nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed Fix for referencing file via its vnode in ibore. 2020-11-02 10:44:29 +00:00
opencrypto Remove the cloned file descriptors for /dev/crypto. 2020-11-25 00:10:54 +00:00
powerpc Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
riscv Add a kstack_contains() helper function. 2020-12-01 17:04:46 +00:00
rpc Fix a potential memory leak in the NFS over TLS handling code. 2020-09-05 00:50:52 +00:00
security pipe: allow for lockless pipe_stat 2020-11-19 06:30:25 +00:00
sys rtld: bump r_debug.r_version to 1 from current 0. 2020-12-01 22:28:01 +00:00
teken Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
tests Add small tool to invoke kernel test framework tests. 2020-09-02 09:20:40 +00:00
tools Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
ufs ffs: do not read full direct blocks if they are going to be overwritten. 2020-11-30 17:03:26 +00:00
vm uma: Avoid allocating buckets with the cross-domain lock held 2020-11-30 16:18:33 +00:00
x86 Add a kstack_contains() helper function. 2020-12-01 17:04:46 +00:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: clean up empty lines in .c and .h files 2020-09-01 21:21:55 +00:00
Makefile