Linux Test Project
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Michael Menasherov <mmenashe@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v14 1/4] futex_wait06: Add EFAULT error coverage test
Date: Fri, 12 Jun 2026 16:47:19 +0200	[thread overview]
Message-ID: <aiwb97m9j73IQRmJ@yuki.lan> (raw)
In-Reply-To: <20260527092618.14824-2-mmenashe@redhat.com>

Hi!
> +	bad = SAFE_MMAP(NULL, getpagesize(), PROT_READ | PROT_WRITE,
> +			MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
> +	SAFE_MUNMAP((void *)bad, getpagesize());
> +}

I've changed the test to use the tst_get_bad_addr() library function
isntead and pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

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

  parent reply	other threads:[~2026-06-12 16:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-27  9:26 [LTP] [PATCH v14 0/4] futex: Add error coverage tests for wait, wake and cmp_requeue Michael Menasherov via ltp
2026-05-27  9:26 ` [LTP] [PATCH v14 1/4] futex_wait06: Add EFAULT error coverage test Michael Menasherov via ltp
2026-05-27  9:56   ` [LTP] " linuxtestproject.agent
2026-06-12 14:47   ` Cyril Hrubis [this message]
2026-05-27  9:26 ` [LTP] [PATCH v14 2/4] futex_wait07: Add EINTR " Michael Menasherov via ltp
2026-06-12 15:18   ` Cyril Hrubis
2026-05-27  9:26 ` [LTP] [PATCH v14 3/4] futex_wake05: Add EFAULT " Michael Menasherov via ltp
2026-06-12 17:56   ` Cyril Hrubis
2026-05-27  9:26 ` [LTP] [PATCH v14 4/4] futex_cmp_requeue03: " Michael Menasherov via ltp
2026-06-04  5:57 ` [LTP] [PATCH v14 0/4] futex: Add error coverage tests for wait, wake and cmp_requeue Michael Menasherov via ltp
2026-06-08 12:07 ` Michael Menasherov via ltp
2026-06-11  7:38 ` Michael Menasherov via ltp
2026-06-12 14:19   ` 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=aiwb97m9j73IQRmJ@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=mmenashe@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