From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>,
Pavel Tikhomirov <ptikhomirov@virtuozzo.com>,
Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>,
Konstantin Khorenko <khorenko@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.1 v2 0/9] selftests/mm: broader MADV_DOEXEC coverage
Date: Wed, 04 Nov 2026 20:22:13 +0100 [thread overview]
Message-ID: <179382013338.2760255.5949682716490559434.b4-ty@b4> (raw)
In-Reply-To: <20261021-b4-prep-khorenko-vstor-149847-5-doexec-selftests-v2-0-97dbb5c6e0ab@virtuozzo.com>
On Wed, 21 Oct 2026 18:57:13 +0200, Konstantin Khorenko wrote:
> selftests/mm: broader MADV_DOEXEC coverage
>
> Selftests for MADV_DOEXEC beyond the cases the fixes need: the sysctl
> and the refused mappings, partial and attribute-carrying ranges (mlock,
> DONTFORK, WIPEONFORK, userfaultfd, memory policy), the opt-in note
> (missing, malformed, not in the last PT_NOTE), a preserved range under
> the new stack, large, swapped and partly marked THP ranges, an exec from
> a vfork() child, VM_MAYEXEC read from smaps and given back to the
> copies, and a /proc/pid/mem write and a vhost kthread that keep the old
> mm across the exec. Failing cases say why. Applies on top of "mm: allow
> MADV_DOEXEC on VFIO BAR mappings".
>
> [...]
Applied to branch-rh10-6.12.0-211.52.1.22.x.vz10-ovz, will be released in rh10-6.12.0-211.52.1.22.18.vz10, thanks!
[1/9] selftests/mm: cover the MADV_DOEXEC interface and VMA attributes
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/a473bb986c4b
[2/9] selftests/mm: cover the MADV_DOEXEC opt-in note and the new stack
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/75c6152d8f93
[3/9] selftests/mm: cover large, swapped and partly marked THP ranges
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/6a6b8286c9ea
[4/9] selftests/mm: check that MADV_DOEXEC refuses an exec from a vfork() child
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/7ec5eabb428a
[5/9] selftests/mm: check VM_MAYEXEC of MADV_DOEXEC ranges in smaps
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/f6973d153870
[6/9] selftests/mm: check who can still reach the old mm of a preserving exec
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/1e11027cfb9a
[7/9] selftests/mm: say why a doexec case fails
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/2d1d09ba3f73
[8/9] selftests/mm: run repeated live updates through MADV_DOEXEC
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/33a4165d9c0b
[9/9] selftests/mm: do not lose doexec failures
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/0e5acf6879ab
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
prev parent reply other threads:[~2026-11-04 19:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-21 16:57 Konstantin Khorenko
2026-10-21 16:57 ` [Devel] [PATCH hci-8.1 v2 1/9] selftests/mm: cover the MADV_DOEXEC interface and VMA attributes Konstantin Khorenko
2026-10-21 16:57 ` [Devel] [PATCH hci-8.1 v2 2/9] selftests/mm: cover the MADV_DOEXEC opt-in note and the new stack Konstantin Khorenko
2026-10-21 16:57 ` [Devel] [PATCH hci-8.1 v2 3/9] selftests/mm: cover large, swapped and partly marked THP ranges Konstantin Khorenko
2026-10-21 16:57 ` [Devel] [PATCH hci-8.1 v2 4/9] selftests/mm: check that MADV_DOEXEC refuses an exec from a vfork() child Konstantin Khorenko
2026-10-21 16:57 ` [Devel] [PATCH hci-8.1 v2 5/9] selftests/mm: check VM_MAYEXEC of MADV_DOEXEC ranges in smaps Konstantin Khorenko
2026-10-21 16:57 ` [Devel] [PATCH hci-8.1 v2 6/9] selftests/mm: check who can still reach the old mm of a preserving exec Konstantin Khorenko
2026-10-21 16:57 ` [Devel] [PATCH hci-8.1 v2 7/9] selftests/mm: say why a doexec case fails Konstantin Khorenko
2026-10-21 16:57 ` [Devel] [PATCH hci-8.1 v2 8/9] selftests/mm: run repeated live updates through MADV_DOEXEC Konstantin Khorenko
2026-10-21 16:57 ` [Devel] [PATCH hci-8.1 v2 9/9] selftests/mm: do not lose doexec failures Konstantin Khorenko
2026-11-04 19:22 ` Konstantin Khorenko [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=179382013338.2760255.5949682716490559434.b4-ty@b4 \
--to=khorenko@virtuozzo.com \
--cc=andrey.drobyshev@virtuozzo.com \
--cc=devel@openvz.org \
--cc=ptikhomirov@virtuozzo.com \
--cc=vasileios.almpanis@virtuozzo.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