History log of /freebsd-current/tests/sys/vm/shared_shadow_inval_test.c
Revision Date Author Comments
# 3b0f105c 23-Aug-2022 Eric van Gyzen <vangyzen@FreeBSD.org>

shared_shadow_inval_test: fix copy-pasto in error message

MFC after: 1 week
Sponsored by: Dell EMC Isilon


# 4b8feb5d 23-Aug-2022 Mark Johnston <markj@FreeBSD.org>

tests: Handle platforms with MAXPAGESIZES < 2

Reported by: Jenkins
Fixes: 1dfa8b73f6a6 ("tests: Add more shared shadow regression tests")


# 3d268c19 19-Aug-2022 Eric van Gyzen <vangyzen@FreeBSD.org>

Fix shared_shadow_inval_test when superpages are disabled

In that case, there is only one page size.

Reviewed by: kib
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D36265


# 1dfa8b73 09-Aug-2022 Mark Johnston <markj@FreeBSD.org>

tests: Add more shared shadow regression tests

The new tests exercise simulated COW that occurs when the protections on
a wired, copy-on-write mapping are changed from read-only to read-write.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35636


# 13d4f961 07-Apr-2021 Ryan Libby <rlibby@FreeBSD.org>

shared shadow vm object invalidation regression test

Add a regression test for a scenario where a shadow vm object is shared
by multiple mappings. If a page COW occurs through one of the mappings,
then the virtual-to-physical mapping may become invalidated.

This tests the scenario from CVE-2021-29626 which was fixed by
982693bb729badac4e65ecd59772979f2849a2b2.

Reviewed by: markj
Sponsored by: Dell EMC Isilon