X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Fprctl.h;h=24f4f8bdfb74c2582ee183b3ce548cf16f6c2d1a;hb=2d49c2243fbe3322961e6f0a052cc3a28acd1fe2;hp=9af5b8ae3e2a10bb7906bd0264b3e0ba8a565795;hpb=11ac2a6e811ff0860c7d3b3daf035dc6748fb4d4;p=musl diff --git a/include/sys/prctl.h b/include/sys/prctl.h index 9af5b8ae..24f4f8bd 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -116,6 +116,20 @@ 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 + +#define PR_SET_FP_MODE 45 +#define PR_GET_FP_MODE 46 +#define PR_FP_MODE_FR (1 << 0) +#define PR_FP_MODE_FRE (1 << 1) + +#define PR_CAP_AMBIENT 47 +#define PR_CAP_AMBIENT_IS_SET 1 +#define PR_CAP_AMBIENT_RAISE 2 +#define PR_CAP_AMBIENT_LOWER 3 +#define PR_CAP_AMBIENT_CLEAR_ALL 4 + int prctl (int, ...); #ifdef __cplusplus