prctl.2: Make it explicit that PR_SET_PTRACER replaces previous setting

The attribute is a scalar, not a list.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-01-11 00:28:42 +01:00
parent 2c7d476b6c
commit 9f4cec5224
1 changed files with 3 additions and 0 deletions

View File

@ -279,6 +279,9 @@ When a "ptracer process ID" is passed in \fIarg2\fP,
the caller is declaring that the ptracer process can
.BR ptrace (2)
the calling process as if it were a direct process ancestor.
Each
.B PR_SET_PTRACER
operation replaces the previous "ptracer process ID".
Employing
.B PR_SET_PTRACER
with