linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: "d.hatayama@fujitsu.com" <d.hatayama@fujitsu.com>
Cc: "'linux-doc@vger.kernel.org'" <linux-doc@vger.kernel.org>,
	"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] docs: admin-guide: Add description of %c corename format
Date: Thu, 13 Feb 2020 11:38:13 -0700	[thread overview]
Message-ID: <20200213113813.356ca854@lwn.net> (raw)
In-Reply-To: <OSBPR01MB4006A82736539529EDC8EB37951C0@OSBPR01MB4006.jpnprd01.prod.outlook.com>

On Fri, 7 Feb 2020 11:01:07 +0000
"d.hatayama@fujitsu.com" <d.hatayama@fujitsu.com> wrote:

> 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>
> ---
>  Documentation/admin-guide/sysctl/kernel.rst | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst
> index def0748..4557907 100644
> --- a/Documentation/admin-guide/sysctl/kernel.rst
> +++ b/Documentation/admin-guide/sysctl/kernel.rst
> @@ -213,6 +213,7 @@ core_pattern is used to specify a core dumpfile pattern name.
>         %h      hostname
>         %e      executable filename (may be shortened)
>         %E      executable path
> +       %c      maximum size of core file by resource limit RLIMIT_CORE
>         %<OTHER> both are dropped
> 
>  * If the first character of the pattern is a '|', the kernel will treat

Applied, thanks.  A couple of notes:

 - The patch was whitespace corrupted; I worked around that.
 - There is no need to resend after five days; it can take me a little
   while to catch up sometimes.

jon

      reply	other threads:[~2020-02-13 18:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-07 11:01 [PATCH] docs: admin-guide: Add description of %c corename format d.hatayama
2020-02-13 18:38 ` Jonathan Corbet [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200213113813.356ca854@lwn.net \
    --to=corbet@lwn.net \
    --cc=d.hatayama@fujitsu.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).