freebsd-dev/sys
Mariusz Zaborski 0dea6e3c98 core(5): overwrite the oldest core dump
The '%I' format in the kern.corefile sysctl limits the number of
core files that a process can generate to the number stored in the
debug.ncores sysctl. The '%I' format is replaced by the single digit
index. Previously, if all indexes were taken the kernel would overwrite
only a core file with the highest index in a filename.
Currently the system will create a new core file if there is a free
index or if all slots are taken it will overwrite the oldest one.

Reviewed by:	kib(code), bcr (updating)
Differential Revision:	https://reviews.freebsd.org/D15991
Differential Revision:	https://reviews.freebsd.org/D16084
2018-07-01 17:28:46 +00:00
..
amd64 Invalidate the mapping before updating its physical address. 2018-06-28 21:40:31 +00:00
arm [rpi] Add SDHOST device driver for Raspberry Pi 2018-06-28 21:14:33 +00:00
arm64 Add stub arm64 linuxulator VDSO ldscript 2018-06-28 20:36:21 +00:00
bsm
cam Fix setting RCA for MMC cards 2018-06-19 20:02:03 +00:00
cddl This originated from ZFS On Linux, as 2018-06-08 17:38:28 +00:00
compat Split kern_break from sys_break and use it in linuxulator 2018-06-27 14:45:13 +00:00
conf newvers.sh: avoid possibly invalid relative directory 2018-06-29 18:45:29 +00:00
contrib MFV: r335802 2018-06-29 23:48:30 +00:00
crypto aesni(4): Fix {de,en}crypt operations that allocated a buffer 2018-06-23 18:20:17 +00:00
ddb Extend show proc with reaper, sigparent, and vmspace information 2018-05-25 13:59:48 +00:00
dev iwn: Add the missing IWN_SDID_6035_5 subdevice 2018-06-30 04:30:08 +00:00
dts Add spi-max-frequency properties to all spigen nodes. This is a required 2018-06-23 22:55:22 +00:00
fs Fix the pNFS server for a case where mirror level equals number of DSs. 2018-06-29 12:41:36 +00:00
gdb
geom gpart: add EFI alias for MBR partition scheme 2018-06-17 20:10:48 +00:00
gnu dts: Update our copy to Linux 4.17 2018-06-14 07:12:10 +00:00
i386 Fix the Linux kernel version number calculation 2018-06-22 00:02:03 +00:00
isa
kern core(5): overwrite the oldest core dump 2018-07-01 17:28:46 +00:00
kgssapi
libkern Sync strlcpy with userland version, again 2018-06-21 17:35:13 +00:00
mips Support 2GB of memory on Malta systems with FreeBSD/mips. 2018-06-28 21:27:34 +00:00
modules Partial revert of r335399 and r335400: 2018-06-26 23:28:03 +00:00
net pf: remove unused ioctls. 2018-07-01 01:16:03 +00:00
net80211
netgraph Catch up two more places to the V_ifnet change to a CK_STAILQ. 2018-05-24 00:06:55 +00:00
netinet carp: Set DSCP value CS7 2018-07-01 08:37:07 +00:00
netinet6 in6_pcblookup_hash: validate inp for liveness 2018-07-01 01:01:59 +00:00
netipsec r335795 build fix: make static functions static 2018-06-29 14:51:36 +00:00
netpfil pf: remove unused ioctls. 2018-07-01 01:16:03 +00:00
netsmb Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
nfs Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
nfsclient
nfsserver
nlm
ofed Revert r335094 and properly fix OFED build after r335053. 2018-06-14 07:55:10 +00:00
opencrypto
powerpc Support multiple OPAL consoles, and don't crash if uart is not stdout 2018-06-29 19:35:25 +00:00
riscv Include UART driver since it is now provided in QEMU. 2018-06-29 10:55:42 +00:00
rpc
security Fix build breakage in veriexec for 32-bit architectures. 2018-06-20 06:54:38 +00:00
sparc64 Define memmove and make bcopy alt entry point 2018-05-24 21:11:28 +00:00
sys Fix compilation error in r335765 under gcc 4.2.1. 2018-06-28 20:37:17 +00:00
teken teken: Fix sequences header which was crossing the 80-col boundary 2018-05-29 08:41:44 +00:00
tests epoch(9): Make epochs non-preemptible by default 2018-05-18 17:29:43 +00:00
tools
ufs Create um_flags in the ufsmount structure to hold flags for a UFS filesystem. 2018-06-29 22:24:41 +00:00
vm Three changes to vm_phys_alloc_seg_contig(): 2018-06-29 04:08:14 +00:00
x86 xen: obtain vCPU ID from CPUID 2018-06-26 15:00:54 +00:00
xdr
xen xen: remove dead code from gnttab.h 2018-05-25 08:44:00 +00:00
Makefile