Linux Test Project
 help / color / mirror / Atom feed
From: Edvard Conrad via ltp <ltp@lists.linux.it>
To: "linuxtestproject.agent@gmail.com" <linuxtestproject.agent@gmail.com>
Cc: Amir Goldstein <amir73il@gmail.com>, Jan Kara <jack@suse.cz>,
	Edvard Conrad <edvard@tuta.io>,
	"ltp@lists.linux.it" <ltp@lists.linux.it>
Subject: Re: [LTP] syscalls/fanotify26: Add test for nested permission events
Date: Wed, 28 Oct 2026 22:06:58 +0100 (CET)	[thread overview]
Message-ID: <P53Ka_W--F-9@tuta.io> (raw)
In-Reply-To: <20261028091542.5840-1-linuxtestproject.agent@gmail.com>

Hi,

On Wed, Oct 28, 2026 at 09:15:42AM +0000, linuxtestproject.agent wrote:
> Since the test is added to runtest/staging for an unreleased kernel fix,
> the commit subject must include the [STAGING] prefix:
>
>     [STAGING] syscalls/fanotify26: Add test for nested permission events

ground_rules.rst asks for the keyword in the patch subject, and gives

  Subject: [PATCH v1][STAGING] fanotify: add test for <feature> (requires v6.19-rc3)

as the example. The mail went out as "[PATCH v2][STAGING] syscalls/fanotify26:
..." and the archive shows it arrived that way. fanotify23, the last test added
to runtest/staging in a8cd03037, likewise carries no [STAGING] in its commit
subject, so I have left the commit subject alone.

> Please use SAFE_READ_ALL instead of the literal 1, matching
> SAFE_WRITE_ALL below:

Done in v3.

> This SAFE_WAITPID() is redundant and discards the child's exit status.
> The test library calls tst_reap_children() automatically after each
> run() iteration [...]

Right, and dropped in v3 for the opener.

Worth noting it does not generalise to the other child: the reader is killed
with SIGKILL on the failure path, and check_child_status() reports TBROK for a
signal-killed child, so that one still has to be reaped by the test itself.

Thanks for the review.

Edvard

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2026-10-28 21:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-28  6:48 [LTP] [PATCH v2][STAGING] syscalls/fanotify26: Add test for nested permission events Edvard Conrad via ltp
2026-10-28  9:15 ` [LTP] " linuxtestproject.agent
2026-10-28 21:06   ` Edvard Conrad via ltp [this message]
2026-10-28 17:49 ` [LTP] [PATCH v2][STAGING] " Amir Goldstein
  -- strict thread matches above, loose matches on Subject: below --
2026-10-29 21:21 [LTP] [PATCH v3][STAGING] " Edvard Conrad via ltp
2026-10-30  0:27 ` [LTP] " linuxtestproject.agent
2026-10-27 19:37 [LTP] [PATCH][STAGING] " Edvard Conrad via ltp
2026-10-27 23:20 ` [LTP] " linuxtestproject.agent

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=P53Ka_W--F-9@tuta.io \
    --to=ltp@lists.linux.it \
    --cc=amir73il@gmail.com \
    --cc=edvard@tuta.io \
    --cc=jack@suse.cz \
    --cc=linuxtestproject.agent@gmail.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