2008-11-09 Dmitry V. Levin <ldv@altlinux.org>
* process.c (prctl_options): Update constants from linux 2.6.27.
diff --git a/process.c b/process.c
index 8ca9420..f95add3 100644
--- a/process.c
+++ b/process.c
@@ -186,9 +186,6 @@
#ifdef PR_GETNSHARE
{ PR_GETNSHARE, "PR_GETNSHARE" },
#endif
-#if defined(PR_SET_PDEATHSIG)
- { PR_SET_PDEATHSIG, "PR_SET_PDEATHSIG" },
-#endif
#ifdef PR_COREPID
{ PR_COREPID, "PR_COREPID" },
#endif
@@ -217,10 +214,10 @@
{ PR_SET_UNALIGN, "PR_SET_UNALIGN" },
#endif
#ifdef PR_GET_KEEPCAPS
- { PR_GET_KEEPCAPS, "PR_GET_KEEP_CAPS" },
+ { PR_GET_KEEPCAPS, "PR_GET_KEEPCAPS" },
#endif
#ifdef PR_SET_KEEPCAPS
- { PR_SET_KEEPCAPS, "PR_SET_KEEP_CAPS" },
+ { PR_SET_KEEPCAPS, "PR_SET_KEEPCAPS" },
#endif
#ifdef PR_GET_FPEMU
{ PR_GET_FPEMU, "PR_GET_FPEMU" },
@@ -258,6 +255,18 @@
#ifdef PR_SET_SECCOMP
{ PR_SET_SECCOMP, "PR_SET_SECCOMP" },
#endif
+#ifdef PR_GET_TSC
+ { PR_GET_TSC, "PR_GET_TSC" },
+#endif
+#ifdef PR_SET_TSC
+ { PR_SET_TSC, "PR_SET_TSC" },
+#endif
+#ifdef PR_GET_SECUREBITS
+ { PR_GET_SECUREBITS, "PR_GET_SECUREBITS" },
+#endif
+#ifdef PR_SET_SECUREBITS
+ { PR_SET_SECUREBITS, "PR_SET_SECUREBITS" },
+#endif
{ 0, NULL },
};