freebsd-dev/sys
Konstantin Belousov 539c9eef12 Fixes for i/o during coredumping:
- Do not dump into system files.
- Do not acquire write reference to the mount point where img.core is
  written, in the coredump().  The vn_rdwr() calls from ELF imgact
  request the write ref from vn_rdwr().  Recursive acqusition of the
  write ref deadlocks with the unmount.
- Instead, take the range lock for the whole core file.  This prevents
  parallel dumping from two processes executing the same image,
  converting the useless interleaved dump into sequential dumping,
  with second core overwriting the first.

Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2014-10-04 18:35:00 +00:00
..
amd64 Get rid of code that dealt with the hardware not being able to save/restore 2014-10-02 05:32:29 +00:00
arm Allow timer0 to run at full 24MHz not at 24MHz/16 by setting prescale to 1. 2014-10-02 06:00:55 +00:00
boot Add GUID of FreeBSD slice to GPT scheme. 2014-10-03 21:46:07 +00:00
bsm
cam Use REPORT LUNS command for SPC-2 devices with LUN 0 disconnected. 2014-10-02 10:58:52 +00:00
cddl Don't make nested definition for range_seg_cache. 2014-10-04 15:42:52 +00:00
compat Fix fcntl(2) compat32 after r270691. The copyin and copyout of the 2014-09-25 21:07:19 +00:00
conf Merge pc98's machdep.c into i386/i386/machdep.c. 2014-10-04 06:01:30 +00:00
contrib Merge ACPICA 20140926. 2014-10-02 19:11:18 +00:00
crypto
ddb ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
dev When we fail to get a USB reference we should just return, because 2014-10-03 16:09:46 +00:00
fs Make autofs use shared vnode locks. 2014-10-04 09:37:40 +00:00
gdb Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
geom Fix a bug in r272297 which prevented dumpdev from setting. 2014-10-03 04:13:25 +00:00
gnu reiserfs: Use signed i_nlink 2014-09-25 19:10:32 +00:00
i386 Merge pc98's machdep.c into i386/i386/machdep.c. 2014-10-04 06:01:30 +00:00
isa
kern Fixes for i/o during coredumping: 2014-10-04 18:35:00 +00:00
kgssapi
libkern Use __DECONST to avoid compiler warnings (and thus build failures) 2014-09-08 08:12:09 +00:00
mips Fix the AR724x PCIe glue to correctly probe the BAR on AR7240 devices. 2014-09-28 07:27:58 +00:00
modules Remove obsolete Makefile for acpi.ko. 2014-10-02 20:13:52 +00:00
net Separate option handling from SIOC[SG]LAGG to SIOC[SG]LAGGOPTS for 2014-10-02 20:01:13 +00:00
net80211 Mechanically convert to if_inc_counter(). 2014-09-19 09:20:55 +00:00
netgraph Use callout(9) instead of timeout(9). 2014-09-20 16:43:14 +00:00
netinet Add an additional routing table lookup when m->m_pkthdr.fibnum is changed 2014-10-02 00:25:57 +00:00
netinet6 UPD and UDPLite require a checksum. So check for it. 2014-10-03 08:46:49 +00:00
netipsec Do not strip outer header when operating in transport mode. 2014-10-02 02:00:21 +00:00
netnatm
netpfil Bump max rule size to 512 opcodes. 2014-10-04 12:46:26 +00:00
netsmb
nfs
nfsclient Avoid an exclusive acquisition of the object lock on the expected execution 2014-09-14 18:07:55 +00:00
nfsserver Change NFS readdir() to only ignore cookies preceding the given offset for 2014-07-01 20:00:35 +00:00
nlm
ofed Mechanically convert to if_inc_counter(). 2014-09-27 20:39:24 +00:00
opencrypto Fix build for kernels without COMPAT_FREEBSD32. 2014-09-22 17:32:27 +00:00
pc98 Merge pc98's machdep.c into i386/i386/machdep.c. 2014-10-04 06:01:30 +00:00
powerpc Fix a paste-o commited in r272109: we need to get the interrupts for the 2014-09-26 15:16:53 +00:00
rpc Merge the NFSv4.1 server code in projects/nfsv4.1-server over 2014-07-01 20:47:16 +00:00
security Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. 2014-08-20 16:04:30 +00:00
sparc64 ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
sys Add IO_RANGELOCKED flag for vn_rdwr(9), which specifies that vnode is 2014-10-04 18:28:27 +00:00
teken
tools Allow the make_dtb script to work outside of a "make buildkernel" context 2014-08-30 22:39:15 +00:00
ufs Provide the unique implementation for the VOP_GETPAGES() method used 2014-09-15 12:28:29 +00:00
vm Refactor ZFS ARC reclaim checks and limits 2014-10-03 20:34:55 +00:00
x86 xen: add the Xen implementation of pci_child_added method 2014-09-30 16:49:17 +00:00
xdr
xen xen: convert the xenstore user-space char device to a newbus device 2014-09-30 17:31:04 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00