docs: admin-guide: Add description of %c corename format
authord.hatayama@fujitsu.com <d.hatayama@fujitsu.com>
Thu, 13 Feb 2020 02:51:49 +0000 (02:51 +0000)
committerJonathan Corbet <corbet@lwn.net>
Thu, 13 Feb 2020 18:37:00 +0000 (11:37 -0700)
commit895f2c20a88a343d12c387dab9d785ff665cb4ac
tree8f51f9badf026252686c9be58c79237451fe02f7
parent56e6b3b0b381abd0484802828764d01552ff76ab
docs: admin-guide: Add description of %c corename format

There is somehow no description of %c corename format specifier for
/proc/sys/kernel/core_pattern. The %c corename format specifier is
used by user-space application such as systemd-coredump, so it should
be documented.

To find where %c is handled in the kernel source code, look at
function format_corename() in fs/coredump.c.

Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
Link: https://lore.kernel.org/r/TYAPR01MB4014714BB2ACE425BB6EC6B7951A0@TYAPR01MB4014.jpnprd01.prod.outlook.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/sysctl/kernel.rst