mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
Add a test case to check ptrace behavior in the case when vector extension is supported by the system, but vector context is not yet enabled for the traced process. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Reviewed-by: Andy Chiu <andybnac@gmail.com> Tested-by: Andy Chiu <andybnac@gmail.com> Link: https://patch.msgid.link/20251214163537.1054292-6-geomatsi@gmail.com [pjw@kernel.org: dropped duplicate sys/wait.h include] Signed-off-by: Paul Walmsley <pjw@kernel.org>
11 lines
244 B
C
11 lines
244 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#include <stdbool.h>
|
|
|
|
bool is_xtheadvector_supported(void);
|
|
|
|
bool is_vector_supported(void);
|
|
|
|
unsigned long get_vr_len(void);
|
|
|
|
int launch_test(char *next_program, int test_inherit, int xtheadvector);
|