From: Paul Moore <paul@paul-moore.com>
To: linux-audit@redhat.com
Subject: Re: [PATCH] signal: improve the signal test robustness
Date: Tue, 26 Apr 2022 20:44:39 -0400 [thread overview]
Message-ID: <CAHC9VhSKhPL-THf9TuOuWUaS65vjsMV4v0zrdh9sYyd+_aNgjg@mail.gmail.com> (raw)
In-Reply-To: <165101071065.257873.10076026851201189724.stgit@olly>
On Tue, Apr 26, 2022 at 6:05 PM Paul Moore <paul@paul-moore.com> wrote:
>
> A few changes to help ensure the signal test runs correctly:
>
> 1. Increase the sleep duration of the ptrace test to 5 seconds as
> 100ms was not reliably long enough on all of my test systems.
>
> 2. Spawn a separate process to send the TERM signal to the test
> processes as the script process may not be eligible for auditing
> if the system has the default '-a exit,always never' filter rule.
>
> 3. Fix the process group's child tasks to properly exit after
> sleeping.
>
> Signed-off-by: Paul Moore <paul@paul-moore.com>
> ---
> tests/signal/test | 20 +++++++++++++-------
> 1 file changed, 13 insertions(+), 7 deletions(-)
Merged.
--
paul-moore.com
--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit
prev parent reply other threads:[~2022-04-27 0:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-26 22:05 [PATCH] signal: improve the signal test robustness Paul Moore
2022-04-27 0:44 ` Paul Moore [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=CAHC9VhSKhPL-THf9TuOuWUaS65vjsMV4v0zrdh9sYyd+_aNgjg@mail.gmail.com \
--to=paul@paul-moore.com \
--cc=linux-audit@redhat.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).