freebsd-skq/sys
Mark Johnston a11ac730a7 Prevent CPU migration when checking the DTrace nofault flag on x86.
dtrace_trap() consumes page and protection faults triggered by code running
in DTrace probe context. Such faults occur with interrupts disabled and are
detected using a per-CPU flag. Regular faults cause dtrace_trap() to be
called with interrupts enabled, and nothing was ensuring that the flag was
read from the correct CPU. This may result in dtrace_trap() consuming
unrelated page and protection faults when DTrace is enabled, causing the
fault handler to return without actually having handled the fault.

Diagnosed by:	Ryan Libby <rlibby@gmail.com>
MFC after:	3 days
Sponsored by:	Dell EMC Isilon
2017-02-16 23:05:20 +00:00
..
amd64 Implement linux version of ptrace(2). It's nowhere near complete, 2017-02-16 13:32:15 +00:00
arm Remove debugging code that was probably unused since before the arm code 2017-02-13 20:51:08 +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 prefix UFS symbols with UFS_ to reduce namespace pollution 2017-02-15 19:50:26 +00:00
bsm
cam No need to erase sense_data when sense_len is set to zero. 2017-02-14 21:05:36 +00:00
cddl Prevent CPU migration when checking the DTrace nofault flag on x86. 2017-02-16 23:05:20 +00:00
compat Allow container_of() to be used with constant data pointers. 2017-02-16 14:13:36 +00:00
conf Remove EISA bus support for add-in cards. Remove related kernel and 2017-02-16 21:57:35 +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 Remove EISA bus support for add-in cards. Remove related kernel and 2017-02-16 21:57:35 +00:00
fs Use inet_ntoa_r() instead of inet_ntoa() throughout the kernel 2017-02-16 20:47:41 +00:00
gdb
geom Defer startup of gjournal switcher kproc. 2017-02-07 22:45:59 +00:00
gnu
i386 Remove EISA bus support for add-in cards. Remove related kernel and 2017-02-16 21:57:35 +00:00
isa Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kern Revert r313814 and r313816 2017-02-16 21:18:31 +00:00
kgssapi
libkern Remove inet_ntoa() from the kernel 2017-02-16 20:50:01 +00:00
mips [mips/broadcom] Move MIPS-specific bhnd(4) nexus drivers to 2017-02-13 19:58:55 +00:00
modules Remove EISA support from ahc driver. The AIC-7770 chip can be on ISA, 2017-02-16 21:57:19 +00:00
net MFV r313759: license change for a few headers (4 clause BSD to 3 clause BSD). 2017-02-15 07:22:47 +00:00
net80211 [net80211] add a sysctl that forces a vap restart. 2017-02-11 05:33:49 +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 Fix LINT build for powerpc. 2017-02-16 11:38:50 +00:00
netnatm
netpfil Use inet_ntoa_r() instead of inet_ntoa() throughout the kernel 2017-02-16 20:47:41 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Define the vm_ooffset_t and vm_pindex_t types as machine-independend. 2017-02-04 12:26:38 +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
sparc64 Define the vm_ooffset_t and vm_pindex_t types as machine-independend. 2017-02-04 12:26:38 +00:00
sys rwlock: tidy up r313392 2017-02-15 23:33:14 +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 Remove EISA bus support for add-in cards. Remove related kernel and 2017-02-16 21:57:35 +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