freebsd-skq/sys
Konstantin Belousov 57f22c828e sigfastblock: do not skip cursig/postsig loop in ast()
Even if sigfastblock block is non-zero, non-blockable signals must be
checked on ast and delivered now.  This also affects debugger ability
to attach, because issignal() also calls ptracestop() if there is
a pending stop for debugee.

Instead of checking for sigfastblock, and either setting PENDING flag
for usermode or doing signal delivery loop, always do the loop after
checking, and then handle PENDING bit. issignal() already does the right
thing for fast-blocked case, allowing only STOPs and SIGKILL delivery to
happen.

Reported by:	Vasily Postnicov <shamaz.mazum@gmail.com>, markj
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D28089
2021-01-12 12:45:26 +02:00
..
amd64 amd64: fix tlb shootdown when all cpus are passed in the bitmap 2021-01-12 08:47:32 +00:00
arm cgem: add 64-bit support 2021-01-10 16:51:52 -04:00
arm64 arm64: Add armv8crpyto and ossl to NOTES. 2021-01-11 14:28:46 -08:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam cam: Remove Giant handling from cam_sim_alloc() 2021-01-03 11:50:31 -05:00
cddl dtrace: Blacklist riscv exception handlers for fbt 2021-01-12 10:33:16 +01:00
compat linuxkpi: Fix the "error: unknown type name 'u32'" compilation issue when 2021-01-09 15:27:04 -08:00
conf hid: Add recently imported drivers to NOTES 2021-01-10 22:17:20 +03:00
contrib [skip ci] Delete an accidentally-committed comment 2021-01-11 17:01:22 -07:00
crypto armv8crypto: add AES-XTS support 2021-01-07 15:35:20 -04:00
ddb ddb: add ability to print user registers 2021-01-08 14:53:06 -04:00
dev netmap: vtnet: fix RX initialization after netmap_reset() 2021-01-11 21:38:32 +00:00
dts cgem: add 64-bit support 2021-01-10 16:51:52 -04:00
fs nfsd: add KASSERTs to nfsm_trimtrailing() for M_EXTPG mbufs 2021-01-10 13:50:15 -08:00
gdb gdb(4): allow bulk write of registers 2020-12-23 14:37:05 -04:00
geom geom(4): make g_newprovider_event() return if G_P_WITHER is set 2020-12-29 14:29:59 +00:00
gnu ARM64: Port FreeBSD to Nvidia Jetson TX1 and Nano. 2020-12-28 14:12:41 +01:00
i386 xen/privcmd: implement the dm op ioctl 2021-01-11 16:33:27 +01:00
isa
kern sigfastblock: do not skip cursig/postsig loop in ast() 2021-01-12 12:45:26 +02:00
kgssapi State kgssapi dependency on xdr. 2020-09-17 22:29:38 +00:00
libkern libkern/strcasestr.c: Drop xlocale support and connect to build. 2021-01-08 02:18:42 +03:00
mips hid: Import functions and constants required by new subsystem 2021-01-08 02:18:42 +03:00
modules Add fib lookup testing module. 2021-01-09 13:20:30 +00:00
net pf: quiet -Wredundant-decls for pf_get_ruleset_number 2021-01-10 21:53:15 -08:00
net80211 net80211: fix a typo 2020-11-04 12:07:33 +00:00
netgraph pccard: Remove bt3c(4) driver 2021-01-07 20:40:41 -07:00
netinet Use rn_match instead of doing indirect calls in fib_algo. 2021-01-11 23:30:35 +00:00
netinet6 Use rn_match instead of doing indirect calls in fib_algo. 2021-01-11 23:30:35 +00:00
netipsec Trigger soft lifetime expiration on sequence number 2020-10-16 11:27:01 +00:00
netpfil pf: quiet debugging printfs 2021-01-11 22:30:44 +01: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 Update user access region, UAR, APIs in the core in mlx5core. 2021-01-08 13:33:46 +01:00
opencrypto Remove the cloned file descriptors for /dev/crypto. 2020-11-25 00:10:54 +00:00
powerpc hid: Import functions and constants required by new subsystem 2021-01-08 02:18:42 +03:00
riscv cgem: add 64-bit support 2021-01-10 16:51:52 -04:00
rpc Add a new "tlscertname" NFS mount option. 2020-12-23 13:42:55 -08:00
security mac: cheaper check for mac_vnode_check_readlink 2021-01-08 13:57:10 +00:00
sys lio_listio: validate aio_lio_opcode 2021-01-11 19:53:01 -07:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests Add fib lookup testing module. 2021-01-09 13:20:30 +00:00
tools sys/tools: Add a tool for generating arm and arm64 kernel images. 2020-12-30 13:22:04 +01:00
ufs Eliminate lock order reversal in UFS ffs_unmount(). 2021-01-11 16:49:07 -08:00
vm vmspace_fork: preserve wx settings in the child vm map after fork 2021-01-12 08:09:59 +02:00
x86 x86 tsc: mark %eax as earlyclobber in tscp_get_timecount_low(). 2021-01-11 00:05:49 +02:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile