All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Cervesato via ltp <ltp@lists.linux.it>
To: linuxtestproject.agent@gmail.com
Cc: ltp@lists.linux.it
Subject: Re: [LTP] sched_setattr01: Convert to new API
Date: Fri, 04 Sep 2026 07:35:17 +0000	[thread overview]
Message-ID: <6a9a74b6.a294b636.15b91e.ba8d@mx.google.com> (raw)
In-Reply-To: <20260903160411.9148-1-linuxtestproject.agent@gmail.com>

> --- [PATCH 4/5] ---
> 
> > +#ifndef PR_SET_MM_MAP
> > +# define PR_SET_MM_MAP	14
> > +#endif
> 
> PR_SET_MM_MAP_SIZE is listed in the commit message but is not defined here.
> Add its UAPI value, 15, alongside PR_SET_MM_MAP.

Valid.

> 
> --- [PATCH 5/5] ---
> 
> > +	map.start_code = map.start_data = map.end_data =
> > +	map.start_brk = map.brk = map.start_stack = map.arg_start =
> > +	map.arg_end = map.env_start = map.env_end = (uint64_t)(uintptr_t)&map;
> 
> PR_SET_MM_MAP copies these values into current->mm, so this sets the process
> break to a stack address before the test starts. Preserve the real break with
> sbrk(0), as waiter_fn() does, and supply valid current values for the other
> memory-map fields.
> 

Valid.

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com

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

  reply	other threads:[~2026-09-04  7:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03 12:51 [LTP] [PATCH v7 0/5] Reproducer for ghostlock Andrea Cervesato
2026-09-03 12:51 ` [LTP] [PATCH v7 1/5] sched_setattr01: Convert to new API Andrea Cervesato
2026-09-03 16:04   ` [LTP] " linuxtestproject.agent
2026-09-04  7:35     ` Andrea Cervesato via ltp [this message]
2026-09-03 12:51 ` [LTP] [PATCH v7 2/5] sched_getattr01: " Andrea Cervesato
2026-09-03 12:51 ` [LTP] [PATCH v7 3/5] lapi/sched: add SAFE_SCHED_SETATTR() Andrea Cervesato
2026-09-03 12:51 ` [LTP] [PATCH v7 4/5] lapi/prctl: add more fallback definitions Andrea Cervesato
2026-09-03 12:51 ` [LTP] [PATCH v7 5/5] cve: add CVE-2026-43499 reproducer Andrea Cervesato
  -- strict thread matches above, loose matches on Subject: below --
2026-09-04  7:41 [LTP] [PATCH v8 1/5] sched_setattr01: Convert to new API Andrea Cervesato
2026-09-04  8:20 ` [LTP] " linuxtestproject.agent
2026-09-04  8:23   ` Andrea Cervesato via ltp

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=6a9a74b6.a294b636.15b91e.ba8d@mx.google.com \
    --to=ltp@lists.linux.it \
    --cc=andrea.cervesato@suse.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.