diff options
| -rw-r--r-- | tools/include/uapi/linux/prctl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/prctl.h b/tools/include/uapi/linux/prctl.h index b640071421f7..af5f8c2df87a 100644 --- a/tools/include/uapi/linux/prctl.h +++ b/tools/include/uapi/linux/prctl.h | |||
| @@ -198,4 +198,13 @@ struct prctl_mm_map { | |||
| 198 | # define PR_CAP_AMBIENT_LOWER 3 | 198 | # define PR_CAP_AMBIENT_LOWER 3 |
| 199 | # define PR_CAP_AMBIENT_CLEAR_ALL 4 | 199 | # define PR_CAP_AMBIENT_CLEAR_ALL 4 |
| 200 | 200 | ||
| 201 | /* arm64 Scalable Vector Extension controls */ | ||
| 202 | /* Flag values must be kept in sync with ptrace NT_ARM_SVE interface */ | ||
| 203 | #define PR_SVE_SET_VL 50 /* set task vector length */ | ||
| 204 | # define PR_SVE_SET_VL_ONEXEC (1 << 18) /* defer effect until exec */ | ||
| 205 | #define PR_SVE_GET_VL 51 /* get task vector length */ | ||
| 206 | /* Bits common to PR_SVE_SET_VL and PR_SVE_GET_VL */ | ||
| 207 | # define PR_SVE_VL_LEN_MASK 0xffff | ||
| 208 | # define PR_SVE_VL_INHERIT (1 << 17) /* inherit across exec */ | ||
| 209 | |||
| 201 | #endif /* _LINUX_PRCTL_H */ | 210 | #endif /* _LINUX_PRCTL_H */ |
