projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658aefd
)
add PR_*_FP_MODE prctl options
author
Szabolcs Nagy
<nsz@port70.net>
Tue, 14 Apr 2015 22:21:48 +0000
(22:21 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 18 Apr 2015 02:31:44 +0000
(22:31 -0400)
new in linux v4.0, commit
9791554b45a2acc28247f66a5fd5bbc212a6b8c8
used to work around a floating-point abi issue on mips
include/sys/prctl.h
patch
|
blob
|
history
diff --git
a/include/sys/prctl.h
b/include/sys/prctl.h
index 4129a70ce614b715a3d3ca7cf620bd1aaec0a102..ec92053d2cd4ac971cf6ce42710f9e688437ebb7 100644
(file)
--- a/
include/sys/prctl.h
+++ b/
include/sys/prctl.h
@@
-119,6
+119,11
@@
struct prctl_mm_map {
#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)
+
int prctl (int, ...);
#ifdef __cplusplus