opnsense-src/sys
Eric Badger 82a4538f31 Defer ptracestop() signals that cannot be delivered immediately
When a thread is stopped in ptracestop(), the ptrace(2) user may request
a signal be delivered upon resumption of the thread. Heretofore, those signals
were discarded unless ptracestop()'s caller was issignal(). Fix this by
modifying ptracestop() to queue up signals requested by the ptrace user that
will be delivered when possible. Take special care when the signal is SIGKILL
(usually generated from a PT_KILL request); no new stop events should be
triggered after a PT_KILL.

Add a number of tests for the new functionality. Several tests were authored
by jhb.

PR:		212607
Reviewed by:	kib
Approved by:	kib (mentor)
MFC after:	2 weeks
Sponsored by:	Dell EMC
In collaboration with:	jhb
Differential Revision:	https://reviews.freebsd.org/D9260
2017-02-20 15:53:16 +00:00
..
amd64 In pmap_enter(), set the PG_MANAGED flag on the new PTE in one place, 2017-02-19 18:00:57 +00:00
arm MFamd64 r313933: microoptimize pmap_protect_pte1(). 2017-02-19 20:40:07 +00:00
arm64 Load the new sp_el0 with interrupts disabled in fork_trampoline. If an 2017-02-15 14:56:47 +00:00
boot improve PBKDF2 performance 2017-02-19 19:30:31 +00:00
bsm
cam Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
cddl MVF: 313876 2017-02-17 17:52:12 +00:00
compat There are some Linux binaries that expect the system to obey the "addr" 2017-02-19 17:17:06 +00:00
conf Add a driver for the RouterBoard RB800 User LED 2017-02-19 19:56:12 +00:00
contrib Stop including sys/types.h from arm's machine/atomic.h, fix the places 2017-02-11 01:07:46 +00:00
crypto Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
ddb Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
dev etherswitch: Fix RT305x vlan group operation 2017-02-20 08:10:41 +00:00
fs Apply noexec mount option for mmap(PROT_EXEC). 2017-02-19 20:51:04 +00:00
gdb
geom improve PBKDF2 performance 2017-02-19 19:30:31 +00:00
gnu Add Ingenic X1000 DTS files (unofficial). 2016-11-19 15:03:49 +00:00
i386 Implement rt_tgsigqueueinfo system call used by glibc for pthread_sigqueue(3). 2017-02-19 07:38:11 +00:00
isa Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kern Defer ptracestop() signals that cannot be delivered immediately 2017-02-20 15:53:16 +00:00
kgssapi kgssapi: insignificant spelling fix. 2016-05-03 22:05:03 +00:00
libkern Remove inet_ntoa() from the kernel 2017-02-16 20:50:01 +00:00
mips Bring back r313037, with fixes for mips: 2017-02-19 02:03:09 +00:00
modules Add USB Mass Storage CTL frontend. This makes it possible 2017-02-19 17:47:43 +00:00
net Bring back r313037, with fixes for mips: 2017-02-19 02:03:09 +00:00
net80211 [net80211] validate VHT IEs. 2017-02-20 04:04:59 +00:00
netgraph mppc - Finish pluging NETGRAPH_MPPC_COMPRESSION. 2017-01-20 00:02:11 +00:00
netinet Remove inet_ntoa() from the kernel 2017-02-16 20:50:01 +00:00
netinet6 Remove IPsec related PCB code from SCTP. 2017-02-13 11:37:52 +00:00
netipsec For translated packets do not adjust UDP checksum if it is zero. 2017-02-18 19:53:37 +00:00
netnatm kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
netpfil Use inet_ntoa_r() instead of inet_ntoa() throughout the kernel 2017-02-16 20:47:41 +00:00
netsmb sys/net*: minor spelling fixes. 2016-05-03 18:05:43 +00:00
nfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
nfsclient
nfsserver
nlm When sleeping waiting for either local or remote advisory lock, 2016-06-26 20:08:42 +00:00
ofed Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4 2016-09-30 08:23:06 +00:00
opencrypto Add support for the fpu_kern(9) KPI on arm64. It hooks into the existing 2016-10-20 09:22:10 +00:00
powerpc Add a driver for the RouterBoard RB800 User LED 2017-02-19 19:56:12 +00:00
riscv Implement atomic_fcmpset_*() for RISC-V. 2017-02-05 00:32:12 +00:00
rpc add svcpool_close to handle killed nfsd threads 2017-02-14 17:49:08 +00:00
security Audit 'fd' and 'cmd' arguments to fcntl(2), and when generating BSM, 2016-11-22 00:41:24 +00:00
sparc64 Bring back r313037, with fixes for mips: 2017-02-19 02:03:09 +00:00
sys Defer ptracestop() signals that cannot be delivered immediately 2017-02-20 15:53:16 +00:00
teken
tests
tools Replace using of objdump with elfdump 2017-01-10 18:46:40 +00:00
ufs prefix UFS symbols with UFS_ to reduce namespace pollution 2017-02-15 19:50:26 +00:00
vm try to fix RACCT_RSS accounting 2017-02-14 13:54:05 +00:00
x86 Fix regression in r313898 on i386. 2017-02-19 03:57:41 +00:00
xdr
xen "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
Makefile Remove pc98 support completely. 2017-01-28 02:22:15 +00:00