X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..0c530ab8987f0ae6a1a3d9284f40182b88852816:/bsd/man/man5/core.5?ds=sidebyside diff --git a/bsd/man/man5/core.5 b/bsd/man/man5/core.5 index 097ce4f34..6e6ea7a2d 100644 --- a/bsd/man/man5/core.5 +++ b/bsd/man/man5/core.5 @@ -41,17 +41,25 @@ Files which would be larger than the limit are not created. The core file consists of the .Pa Xr Mach-O 5 header as described in the -.Aq Pa sys/loader.h +.Aq Pa mach-o/loader.h file. The remainder of the core file consists of various sections described in the .Xr Mach-O 5 header. +.Sh NOTE +Core dumps are disabled by default under Darwin/Mac OS X. To re-enable core dumps, a +privlaged user must edit +.Pa /etc/hostconfig +to contain the line: +.Bd -literal +COREDUMPS=-YES- +.Ed .Sh SEE ALSO .Xr gdb 1 , .Xr setrlimit 2 , .Xr sigaction 2 , -.Xr Mach-O 5, +.Xr Mach-O 5 , .Xr sysctl 8 .Sh HISTORY A