author | Szabolcs Nagy <nsz@port70.net> | 2018年02月02日 21:04:51 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018年02月22日 18:49:34 -0500 |
commit | 121d18d2f254fceb7e489d7a99527124f4084b5b (patch) | |
tree | c2188224e1a8c4969c4c784cf43a69ad00ab0d86 | |
parent | 5a4a780ccb864a1e97483fe9c94858f24e1f02a2 (diff) | |
download | musl-121d18d2f254fceb7e489d7a99527124f4084b5b.tar.gz |
-rw-r--r-- | include/sys/prctl.h | 6 |
diff --git a/include/sys/prctl.h b/include/sys/prctl.h index 24f4f8bd..aa0c7a88 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -130,6 +130,12 @@ struct prctl_mm_map { #define PR_CAP_AMBIENT_LOWER 3 #define PR_CAP_AMBIENT_CLEAR_ALL 4 +#define PR_SVE_SET_VL 50 +#define PR_SVE_SET_VL_ONEXEC (1 << 18) +#define PR_SVE_GET_VL 51 +#define PR_SVE_VL_LEN_MASK 0xffff +#define PR_SVE_VL_INHERIT (1 << 17) + int prctl (int, ...); #ifdef __cplusplus |