[Midnightbsd-cvs] src [11726] U trunk/share/man/man5: core update

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Jul 9 19:06:59 EDT 2018


Revision: 11726
          http://svnweb.midnightbsd.org/src/?rev=11726
Author:   laffer1
Date:     2018-07-09 19:06:59 -0400 (Mon, 09 Jul 2018)
Log Message:
-----------
core update

Modified Paths:
--------------
    trunk/share/man/man5/boot.config.5
    trunk/share/man/man5/bsd.mport.mk.5
    trunk/share/man/man5/core.5

Property Changed:
----------------
    trunk/share/man/man5/boot.config.5
    trunk/share/man/man5/bsd.mport.mk.5
    trunk/share/man/man5/core.5

Modified: trunk/share/man/man5/boot.config.5
===================================================================
--- trunk/share/man/man5/boot.config.5	2018-07-09 23:06:40 UTC (rev 11725)
+++ trunk/share/man/man5/boot.config.5	2018-07-09 23:06:59 UTC (rev 11726)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2007 Daniel Gerzo <danger at FreeBSD.org>
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man5/boot.config.5 208028 2010-05-13 12:08:11Z uqs $
 .Dd May 13, 2007
 .Dt BOOT.CONFIG 5
 .Os


Property changes on: trunk/share/man/man5/boot.config.5
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/share/man/man5/bsd.mport.mk.5
===================================================================
--- trunk/share/man/man5/bsd.mport.mk.5	2018-07-09 23:06:40 UTC (rev 11725)
+++ trunk/share/man/man5/bsd.mport.mk.5	2018-07-09 23:06:59 UTC (rev 11726)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05)
 .\"
 .\" Standard preamble:


Property changes on: trunk/share/man/man5/bsd.mport.mk.5
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/share/man/man5/core.5
===================================================================
--- trunk/share/man/man5/core.5	2018-07-09 23:06:40 UTC (rev 11725)
+++ trunk/share/man/man5/core.5	2018-07-09 23:06:59 UTC (rev 11726)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
 .\"
@@ -30,9 +31,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)core.5	8.3 (Berkeley) 12/11/93
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man5/core.5 295454 2016-02-10 00:08:51Z jhb $
 .\"
-.Dd November 22, 2012
+.Dd October 5, 2015
 .Dt CORE 5
 .Os
 .Sh NAME
@@ -126,6 +127,29 @@
 .Em .gz
 appended to them.
 .El
+.Sh NOTES
+Corefiles are written with open file descriptor information as an ELF note.
+By default, file paths are packed to only use as much space as needed.
+However, file paths can change at any time, including during core dump,
+and this can result in truncated file descriptor data.
+.Pp
+All file descriptor information can be preserved by disabling packing.
+This potentially wastes up to PATH_MAX bytes per open fd.
+Packing is disabled with
+.Dl sysctl kern.coredump_pack_fileinfo=0 .
+.Pp
+Similarly, corefiles are written with vmmap information as an ELF note, which
+contains file paths.
+By default, they are packed to only use as much space as
+needed.
+By the same mechanism as for the open files note, these paths can also
+change at any time and result in a truncated note.
+.Pp
+All vmmap information can be preserved by disabling packing.
+Like the file information, this potentially wastes up to PATH_MAX bytes per
+mapped object.
+Packing is disabled with
+.Dl sysctl kern.coredump_pack_vmmapinfo=0 .
 .Sh EXAMPLES
 In order to store all core images in per-user private areas under
 .Pa /var/coredumps ,


Property changes on: trunk/share/man/man5/core.5
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list