summaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2018-07-01 17:28:46 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2018-07-01 17:28:46 +0000
commit0dea6e3c9834badf5dbfd0d0122054eb4d736c5a (patch)
tree0fa8a2f7f35897c6634c012b79f8846aa6958d00 /UPDATING
parent775c9076c7a8a96283795290b01dbc29dccfbbfe (diff)
downloadsrc-test-0dea6e3c9834badf5dbfd0d0122054eb4d736c5a.tar.gz
src-test-0dea6e3c9834badf5dbfd0d0122054eb4d736c5a.zip
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
Notes
Notes: svn path=/head/; revision=335844
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING8
1 files changed, 8 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index 6a8a4ad778aab..69365fdeb7f0f 100644
--- a/UPDATING
+++ b/UPDATING
@@ -31,6 +31,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
disable the most expensive debugging functionality run
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
+20180701:
+ 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.
20180630:
Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to