public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Tudor Cretu <tudor.cretu@arm.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v4 2/2] syscalls/statfs02, fstatfs02: Accept segfault instead of EFAULT
Date: Wed, 21 Sep 2022 15:18:38 +0200	[thread overview]
Message-ID: <YysPLnO0ca68Qagd@yuki> (raw)
In-Reply-To: <20220825143819.311023-3-tudor.cretu@arm.com>

Hi!
Pushed with a minor change, thanks.

> +	SAFE_WAITPID(pid, &status, 0);
> +
> +	if (WIFEXITED(status))
> +		return;

I've changed this to chech for WEXITSTATUS(status) == 0 as well and the
same for statfs02.

-- 
Cyril Hrubis
chrubis@suse.cz

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

      reply	other threads:[~2022-09-21 13:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-25 14:38 [LTP] [PATCH v4 0/2] syscalls: Fix various syscall tests when compiled with Musl Tudor Cretu
2022-08-25 14:38 ` [LTP] [PATCH v4 1/2] syscalls/statfs02, fstatfs02: Convert to new API Tudor Cretu
2022-09-21 12:55   ` Cyril Hrubis
2022-09-21 13:26     ` Tudor Cretu
2022-08-25 14:38 ` [LTP] [PATCH v4 2/2] syscalls/statfs02, fstatfs02: Accept segfault instead of EFAULT Tudor Cretu
2022-09-21 13:18   ` Cyril Hrubis [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=YysPLnO0ca68Qagd@yuki \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=tudor.cretu@arm.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