mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 03:22:37 +00: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 <[email protected]> Reviewed-by: Andy Chiu <[email protected]> Tested-by: Andy Chiu <[email protected]> Link: https://patch.msgid.link/[email protected] [[email protected]: dropped duplicate sys/wait.h include] Signed-off-by: Paul Walmsley <[email protected]>
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);
|