[PATCH 3/4] aarch64: Add LD_PRELOAD tests for GCS handling
Yury Khrustalev
yury.khrustalev@arm.com
Wed Jan 7 11:22:21 GMT 2026
On Tue, Jan 06, 2026 at 05:00:59PM -0300, Adhemerval Zanella wrote:
> There are modeled after the 'shared' tests subset and it adds 4 new
> tests:
>
> 1. tst-gcs-preload-disabled: checks if GCS is disabled when a LD_PRELOAD
> module is used without GCS marking with default GCS support.
>
> 2. tst-gcs-preload-enforced-abort: chekcs if loader aborts startup when
> a LD_PRELOAD is used without GCS marking and GCS is enforced.
>
> 3. tst-gcs-preload-optional: checks if GCS is disabled when a LD_PRELOAD
> is used without GCS marking and GCS is optional.
>
> 4. tst-gcs-preload-override: checks if GCS is enabled when a LD_PRELOAD
> is used without GCS marking and GCS is overrided.
>
> Checked on aarch64-linux-gnu with Linux 6.18 on Apple M4 emulated (for
> BTI support) and on qemu 10.1.50 simulated (for GCS).
LGTM. Tested on Arm Fixed Virtual Platform (FVP) model.
Reviewed-by: Yury Khrustalev <yury.khrustalev@arm.com>
Tested-by: Yury Khrustalev <yury.khrustalev@arm.com>
Thanks,
Yury
More information about the Libc-alpha
mailing list