aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-03-28 17:36:26 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-28 17:38:04 +1300
commitfec74bb1aa5782a32c47bb4ceb158c2921448704 (patch)
tree56817514651a96caac5348a0c6e499f9803f7eff
parenta73a0781542b98a5b3d8771163cd181e4c14005a (diff)
downloadman-pages-fec74bb1aa5782a32c47bb4ceb158c2921448704.tar.gz
ptrace.2: srcfix: add info about PTRACE_SEIZE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/ptrace.211
1 files changed, 11 insertions, 0 deletions
diff --git a/man2/ptrace.2 b/man2/ptrace.2
index fc8321888d..f05372aa06 100644
--- a/man2/ptrace.2
+++ b/man2/ptrace.2
@@ -813,6 +813,17 @@ can not be attached via
.BR PTRACE_ATTACH .
.TP
.BR PTRACE_SEIZE " (since Linux 3.4)"
+.\"
+.\" Noted by Dmitry Levin:
+.\"
+.\" PTRACE_SEIZE was introduced by commit v3.1-rc1~308^2~28, but
+.\" it had to be used along with a temporary flag PTRACE_SEIZE_DEVEL,
+.\" which was removed later by commit v3.4-rc1~109^2~20.
+.\"
+.\" That is, [before] v3.4 we had a test mode of PTRACE_SEIZE API,
+.\" which was not compatible with the current PTRACE_SEIZE API introduced
+.\" in Linux 3.4.
+.\"
Attach to the process specified in
.IR pid ,
making it a tracee of the calling process.