Update PR_* constants
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 13 May 2013 18:34:15 +0000 (18:34 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 14 May 2013 21:20:58 +0000 (21:20 +0000)
* process.c (prctl_options): Add PR_SET_PTRACER.

process.c

index 36f10ba6f21b9bf47823c0b59ffcc4d59b7e9c04..2c619e7fe9abed81199097b42fa6c75c42f99d05 100644 (file)
--- a/process.c
+++ b/process.c
@@ -259,6 +259,9 @@ static const struct xlat prctl_options[] = {
 #ifdef PR_SET_MM
        { PR_SET_MM,            "PR_SET_MM"             },
 #endif
+#ifdef PR_SET_PTRACER
+       { PR_SET_PTRACER,       "PR_SET_PTRACER"        },
+#endif
 #ifdef PR_SET_CHILD_SUBREAPER
        { PR_SET_CHILD_SUBREAPER,       "PR_SET_CHILD_SUBREAPER"        },
 #endif