From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] syscalls/kill11: convert to new library
Date: Tue, 25 Feb 2020 13:54:50 +0100 [thread overview]
Message-ID: <20200225125449.GD5077@rei.lan> (raw)
In-Reply-To: <1582271720-27370-1-git-send-email-xuyang2018.jy@cn.fujitsu.com>
Hi!
Pushed with a minor change, thanks.
> + if (tc->sig != SIGKILL) {
> + if (sigset(tc->sig, SIG_DFL) == SIG_ERR)
> + tst_brk(TBROK | TERRNO, "sigset(%d) failed", tc->sig);
> }
There is no need to restore the default signal handlers if we haven't
changed them, so I've removed this part as well.
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2020-02-25 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-21 7:55 [LTP] [PATCH] syscalls/kill11: convert to new library Yang Xu
2020-02-25 12:54 ` Cyril Hrubis [this message]
2020-02-26 1:19 ` 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=20200225125449.GD5077@rei.lan \
--to=chrubis@suse.cz \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.