diff options
Diffstat (limited to 'include/linux/prctl.h')
| -rw-r--r-- | include/linux/prctl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/prctl.h b/include/linux/prctl.h index 7ddc7f1b480f..e0cfec2490aa 100644 --- a/include/linux/prctl.h +++ b/include/linux/prctl.h | |||
| @@ -114,4 +114,14 @@ | |||
| 114 | # define PR_SET_MM_START_BRK 6 | 114 | # define PR_SET_MM_START_BRK 6 |
| 115 | # define PR_SET_MM_BRK 7 | 115 | # define PR_SET_MM_BRK 7 |
| 116 | 116 | ||
| 117 | /* | ||
| 118 | * Set specific pid that is allowed to ptrace the current task. | ||
| 119 | * A value of 0 mean "no process". | ||
| 120 | */ | ||
| 121 | #define PR_SET_PTRACER 0x59616d61 | ||
| 122 | # define PR_SET_PTRACER_ANY ((unsigned long)-1) | ||
| 123 | |||
| 124 | #define PR_SET_CHILD_SUBREAPER 36 | ||
| 125 | #define PR_GET_CHILD_SUBREAPER 37 | ||
| 126 | |||
| 117 | #endif /* _LINUX_PRCTL_H */ | 127 | #endif /* _LINUX_PRCTL_H */ |
