kselftest/arm64: Add a test for vfork() with GCS
authorMark Brown <broonie@kernel.org>
Thu, 3 Jul 2025 16:00:17 +0000 (17:00 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Fri, 4 Jul 2025 11:26:14 +0000 (13:26 +0200)
commit1536aa0fb1e09cb50f401ec4852c60f38173d751
treead0fe9f84e5ea2e6fe4b7c91ebe7d66302ae044e
parent696bf15792524aa869ebdbee2643881a77491a83
kselftest/arm64: Add a test for vfork() with GCS

Ensure that we've got at least some coverage of the special cases around
vfork() by adding a test case in basic-gcs doing the same thing as the
plain fork() one - vfork(), do a few checks and then return to the parent.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20250703-arm64-gcs-vfork-exit-v3-3-1e9a9d2ddbbe@kernel.org
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/testing/selftests/arm64/gcs/basic-gcs.c