Репозитории ALT
S: | 6.5-alt1 |
5.1: | 2.6.29-alt3 |
4.1: | 2.6.24-alt4 |
4.0: | 2.6.17-alt6 |
3.0: | 2.4.25-alt2 |
Группа :: Разработка/Ядро
Пакет: glibc-kernheaders
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: glibc-kernheaders-2.6.11-linux-prctl.patch
Скачать
Скачать
--- kernel-source-2.4.25/include/linux/prctl.h 2003-06-13 18:51:39 +0400
+++ kernel-source-2.6.11/include/linux/prctl.h 2005-03-02 10:38:10 +0300
@@ -29,9 +29,27 @@
/* Get/set floating-point exception mode (if meaningful) */
#define PR_GET_FPEXC 11
#define PR_SET_FPEXC 12
+# define PR_FP_EXC_SW_ENABLE 0x80 /* Use FPEXC for FP exception enables */
+# define PR_FP_EXC_DIV 0x010000 /* floating point divide by zero */
+# define PR_FP_EXC_OVF 0x020000 /* floating point overflow */
+# define PR_FP_EXC_UND 0x040000 /* floating point underflow */
+# define PR_FP_EXC_RES 0x080000 /* floating point inexact result */
+# define PR_FP_EXC_INV 0x100000 /* floating point invalid operation */
# define PR_FP_EXC_DISABLED 0 /* FP exceptions disabled */
# define PR_FP_EXC_NONRECOV 1 /* async non-recoverable exc. mode */
# define PR_FP_EXC_ASYNC 2 /* async recoverable exception mode */
# define PR_FP_EXC_PRECISE 3 /* precise exception mode */
+/* Get/set whether we use statistical process timing or accurate timestamp
+ * based process timing */
+#define PR_GET_TIMING 13
+#define PR_SET_TIMING 14
+# define PR_TIMING_STATISTICAL 0 /* Normal, traditional,
+ statistical process timing */
+# define PR_TIMING_TIMESTAMP 1 /* Accurate timestamp based
+ process timing */
+
+#define PR_SET_NAME 15 /* Set process name */
+#define PR_GET_NAME 16 /* Get process name */
+
#endif /* _LINUX_PRCTL_H */