diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-04-14 22:09:50 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-17 22:31:35 -0400 |
commit | 658aefdf336b9465a50b779d9b7f1d23363c0027 (patch) | |
tree | d5df0fb99190044620e1ab83ea8857b3d82110e4 | |
parent | 1bfeb1dcd00247b3976a7a5d74b09653573e6af3 (diff) | |
download | musl-658aefdf336b9465a50b779d9b7f1d23363c0027.zip musl-658aefdf336b9465a50b779d9b7f1d23363c0027.tar.gz musl-658aefdf336b9465a50b779d9b7f1d23363c0027.tar.bz2 |
add PR_MPX_*_MANAGEMENT prctl options
new in linux v3.19, commit fe3d197f84319d3bce379a9c0dc17b1f48ad358c
used for on-demand kernel allocation of bounds tables for mpx on x86
-rw-r--r-- | include/sys/prctl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/prctl.h b/include/sys/prctl.h index 9af5b8a..4129a70 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -116,6 +116,9 @@ struct prctl_mm_map { #define PR_SET_THP_DISABLE 41 #define PR_GET_THP_DISABLE 42 +#define PR_MPX_ENABLE_MANAGEMENT 43 +#define PR_MPX_DISABLE_MANAGEMENT 44 + int prctl (int, ...); #ifdef __cplusplus |