public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] syscalls/kill11: add a check between hard limit and MIN_RLIMIT_CORE
Date: Thu, 13 Feb 2020 03:35:53 -0500 (EST)	[thread overview]
Message-ID: <702486188.7490041.1581582953077.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <71c807c2-b77b-5081-76f8-335aaf1cbe3a@cn.fujitsu.com>



----- Original Message -----
> > This looks OK, but could we also raise the limit when possible?
> > 
> Of course. Your way is more wise.
> But I also want to change this size of MIN_RLIMIT_CORE.
>  From ulimit manpage, I know in posix mode "-c" used 512-byte block. I
> doubt whether we can change MIN_RLIMIT_CORE(512 *1024), so this case
> can also pass in unbuntu(default environment).
> What do you think about this?

I don't see problem with that, we only check for correct signal.
Though it probably should be separate patch. Can you re-post
both as 2 patch series?


  reply	other threads:[~2020-02-13  8:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12  5:44 [LTP] [PATCH] syscalls/kill11: add a check between hard limit and MIN_RLIMIT_CORE Yang Xu
2020-02-12  6:11 ` Xiao Yang
2020-02-12  6:41   ` Yang Xu
2020-02-12 13:32 ` Jan Stancek
2020-02-13  1:43   ` Yang Xu
2020-02-13  8:35     ` Jan Stancek [this message]
2020-02-13  8:41       ` Yang Xu
2020-02-13 10:11         ` Yang Xu

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=702486188.7490041.1581582953077.JavaMail.zimbra@redhat.com \
    --to=jstancek@redhat.com \
    --cc=ltp@lists.linux.it \
    /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