freebsd-dev/sys
Alfred Perlstein e722820434 Merge projects/enhanced_coredumps (r204346) into HEAD:
Enhanced process coredump routines.

  This brings in the following features:
  1) Limit number of cores per process via the %I coredump formatter.
  Example:
    if corefilename is set to %N.%I.core AND num_cores = 3, then
    if a process "rpd" cores, then the corefile will be named
    "rpd.0.core", however if it cores again, then the kernel will
    generate "rpd.1.core" until we hit the limit of "num_cores".

    this is useful to get several corefiles, but also prevent filling
    the machine with corefiles.

  2) Encode machine hostname in core dump name via %H.

  3) Compress coredumps, useful for embedded platforms with limited space.
    A sysctl kern.compress_user_cores is made available if turned on.

    To enable compressed coredumps, the following config options need to be set:
    options COMPRESS_USER_CORES
    device zlib   # brings in the zlib requirements.
    device gzio   # brings in the kernel vnode gzip output module.

  4) Eventhandlers are fired to indicate coredumps in progress.

  5) The imgact sv_coredump routine has grown a flag to pass in more
  state, currently this is used only for passing a flag down to compress
  the coredump or not.

  Note that the gzio facility can be used for generic output of gzip'd
  streams via vnodes.

Obtained from: Juniper Networks
Reviewed by: kan
2010-03-02 06:58:58 +00:00
..
amd64 Print the contents of the miscellaneous (MISC) register to the console if 2010-03-01 13:56:15 +00:00
arm simplify hash calculation 2010-02-28 18:06:54 +00:00
boot Add bwn(4) driver. 2010-02-25 19:47:47 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam Make PUIS detection more strict. Previous implementation caused false 2010-02-26 10:42:46 +00:00
cddl Use mf and not mf.a. The latter doesn't force memory ordering and 2010-02-22 01:24:34 +00:00
compat The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-01 17:20:04 +00:00
conf Merge projects/enhanced_coredumps (r204346) into HEAD: 2010-03-02 06:58:58 +00:00
contrib Merge DTC-d75b33af. 2010-02-28 21:57:35 +00:00
crypto
ddb Add a space before printing 'thread pid ...' to match the space before 2010-02-12 19:52:51 +00:00
dev Remove taskqueue based interrupt handling. After r204541 msk(4) 2010-03-02 01:45:02 +00:00
fs Mark msdosfs as mpsafe. 2010-02-28 17:19:22 +00:00
gdb
geom Please welcome HAST - Highly Avalable Storage. 2010-02-18 23:16:19 +00:00
gnu Bring in the ext2fs work done by Aditya Sarawgi during and after Google Summer 2010-01-14 14:30:54 +00:00
i386 Print the contents of the miscellaneous (MISC) register to the console if 2010-03-01 13:56:15 +00:00
ia64 Interrupt related cleanups: 2010-02-27 18:55:43 +00:00
isa Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
kern Merge projects/enhanced_coredumps (r204346) into HEAD: 2010-03-02 06:58:58 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern Merge from head at r201628. 2010-01-06 05:58:07 +00:00
mips Fix another fo-pa of mine... duplicate patches should 2010-02-21 17:27:20 +00:00
modules Add bwn(4) driver to the build. 2010-02-25 19:42:51 +00:00
net Merge projects/enhanced_coredumps (r204346) into HEAD: 2010-03-02 06:58:58 +00:00
net80211 Ensure that tkip_mixing_phase1() is called after a rekeying event when 2010-02-08 18:16:59 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Declare a new EVENTHANDLER called iflladdr_event which signals that the L2 2010-01-18 20:34:00 +00:00
netinet The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-01 17:05:46 +00:00
netinet6 Use reference counting instead of locking to secure an address while 2010-02-27 07:12:25 +00:00
netipsec Correct typo in comment. 2010-02-18 22:34:29 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Factor out the code shared between NFS client and server into its own 2010-02-16 20:00:21 +00:00
nfsclient Simplify code a bit. 2010-02-18 22:10:55 +00:00
nfsserver Factor out the code shared between NFS client and server into its own 2010-02-16 20:00:21 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto Add comments trying to explain what bad things happen here, i.e. 2010-01-09 15:43:47 +00:00
pc98 Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
pci Add initial support for RTL8103E PCIe fastethernet. 2010-01-27 17:49:27 +00:00
powerpc Fix another bug involving /dev/mem and the OEA64 scratchpage. When 2010-02-25 14:51:06 +00:00
rpc Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic 2010-01-12 07:49:34 +00:00
security Make sure we convert audit records that were produced as the result of the 2010-01-31 22:31:01 +00:00
sparc64 Some machines can not only consist of CPUs running at different speeds 2010-02-21 09:25:53 +00:00
sun4v Adjust style (following the already existing rules) for the newly 2010-02-15 23:44:48 +00:00
sys Merge projects/enhanced_coredumps (r204346) into HEAD: 2010-03-02 06:58:58 +00:00
teken Fall back to ASCII codepoints for box drawing. 2010-02-08 09:16:59 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs When ffs_realloccg() failed to allocate bigger fragment and, because 2010-02-13 10:34:50 +00:00
vm Update comment for vm_page_alloc(9), listing all acceptable flags [1]. 2010-02-27 17:09:28 +00:00
x86 Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen don't hold spin lock across free 2010-02-21 01:12:18 +00:00
Makefile