]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r335844:
authoroshogbo <oshogbo@FreeBSD.org>
Wed, 7 Nov 2018 20:31:36 +0000 (20:31 +0000)
committeroshogbo <oshogbo@FreeBSD.org>
Wed, 7 Nov 2018 20:31:36 +0000 (20:31 +0000)
commit9bd65ced8b7b9c15b608acfd894ceb98c5f08809
treeb2e5ca91bea563b2c2ccaaaab4c330d61a3177e1
parent707d94dc5809e923825b12cede78975cba1b4fc8
MFC r335844:

  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
UPDATING
sys/kern/kern_sig.c