X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/55e303ae13a4cf49d70f2294092726f2fffb9ef2..2d21ac55c334faf3a56e5634905ed6987fc787d4:/bsd/man/man5/core.5 diff --git a/bsd/man/man5/core.5 b/bsd/man/man5/core.5 index 6e6ea7a2d..dae3c4c51 100644 --- a/bsd/man/man5/core.5 +++ b/bsd/man/man5/core.5 @@ -27,10 +27,13 @@ to disk for later examination by one of the available debuggers. (See .Xr sigaction 2 . ) This memory image is written to a file named by default -.Nm core.pid +.Pa core.pid , +where +.Va pid +is the process ID of the process, in the -.Nm /cores -directory; +.Pa /cores +directory, provided the terminated process had write permission in the directory, and the directory existed. .Pp @@ -39,7 +42,7 @@ The maximum size of a core file is limited by Files which would be larger than the limit are not created. .Pp The core file consists of the -.Pa Xr Mach-O 5 +.Xr Mach-O 5 header as described in the .Aq Pa mach-o/loader.h file. @@ -48,8 +51,8 @@ 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 +Core dumps are disabled by default under Darwin/Mac OS X. To re-enable +core dumps, a privileged user must edit .Pa /etc/hostconfig to contain the line: .Bd -literal