aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-10-27 05:45:35 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-10-28 07:18:11 +0100
commitf49202ae2bb3532e9029851778dbef7750da490d (patch)
treebb60f05db99f44d0d695ebca54e98f4cc1a6b65c
parent34709982a518679f5f5eecbe3687c55126bf852d (diff)
downloadman-pages-f49202ae2bb3532e9029851778dbef7750da490d.tar.gz
prctl.2: Reword PR_SET_NAME and PR_GET_NAME in terms of threads
Plus tfix Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/prctl.26
1 files changed, 3 insertions, 3 deletions
diff --git a/man2/prctl.2 b/man2/prctl.2
index d21c70284e..3db048ea78 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -203,7 +203,7 @@ Return (as the function result) the current state of the calling threads's
"keep capabilities" flag.
.TP
.BR PR_SET_NAME " (since Linux 2.6.9)"
-Set the process name for the calling process,
+Set the process name for the calling thread,
using the value in the location pointed to by
.IR "(char\ *) arg2" .
The name can be up to 16 bytes long,
@@ -211,7 +211,7 @@ The name can be up to 16 bytes long,
and should be null-terminated if it contains fewer bytes.
.TP
.BR PR_GET_NAME " (since Linux 2.6.11)"
-Return the process name for the calling process,
+Return the name for the calling thread,
in the buffer pointed to by
.IR "(char\ *) arg2" .
The buffer should allow space for up to 16 bytes;
@@ -263,7 +263,7 @@ parent dies.
This value is cleared for the child of a
.BR fork (2)
and (since Linux 2.5.36 / 2.6.23)
-when executing a set-user_ID or set-group-ID binary.
+when executing a set-user-ID or set-group-ID binary.
.TP
.BR PR_GET_PDEATHSIG " (since Linux 2.3.15)"
Return the current value of the parent process death signal,