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 1/4] Integrate tst_taint_check() into main LTP library
Date: Tue, 18 Aug 2020 09:54:36 -0400 (EDT)	[thread overview]
Message-ID: <1124120972.9071386.1597758876284.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20200811130502.12010-1-mdoucha@suse.cz>



----- Original Message -----
>  static void do_test_setup(void)
> @@ -1279,6 +1282,9 @@ static int fork_testrun(void)
>  	alarm(0);
>  	SAFE_SIGNAL(SIGINT, SIG_DFL);
>  
> +	if (tst_test->taint_check && tst_taint_check())
> +		tst_brk(TBROK, "Kernel is now tainted.");
> +

Shouldn't this be TFAIL?


  parent reply	other threads:[~2020-08-18 13:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-11 13:04 [LTP] [PATCH 1/4] Integrate tst_taint_check() into main LTP library Martin Doucha
2020-08-11 13:05 ` [LTP] [PATCH 2/4] Update tests to new taint check API Martin Doucha
2020-08-14 15:38   ` Petr Vorel
2020-08-14 15:42     ` Martin Doucha
2020-08-14 18:36       ` Petr Vorel
2020-08-18  8:16       ` Petr Vorel
2020-08-18  9:19         ` Martin Doucha
2020-08-11 13:05 ` [LTP] [PATCH 3/4] Simplify syscalls/bind06 using " Martin Doucha
2020-08-14 15:41   ` Petr Vorel
2020-08-11 13:05 ` [LTP] [PATCH 4/4] Add taint check to syscalls/ptrace08 Martin Doucha
2020-08-14 15:42   ` Petr Vorel
2020-08-14 15:33 ` [LTP] [PATCH 1/4] Integrate tst_taint_check() into main LTP library Petr Vorel
2020-08-18 13:54 ` Jan Stancek [this message]
2020-08-18 14:39   ` Martin Doucha
2020-08-18 15:20     ` Cyril Hrubis
2020-08-18 15:11   ` Cyril Hrubis

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=1124120972.9071386.1597758876284.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