aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/pget.9
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@FreeBSD.org>2014-05-04 12:32:37 +0000
committerSergey Kandaurov <pluknet@FreeBSD.org>2014-05-04 12:32:37 +0000
commit4688952cedbc48e550f1254eb771c076331a7170 (patch)
tree91191f85b092d356f639ce650dac7a4204c60b4b /share/man/man9/pget.9
parentc401df0176f4d72ce95f7480d718e473c7c7248a (diff)
downloadsrc-4688952cedbc48e550f1254eb771c076331a7170.tar.gz
src-4688952cedbc48e550f1254eb771c076331a7170.zip
Expand PGET_WANTREAD. Language fixes.
Submitted by: jmg
Notes
Notes: svn path=/head/; revision=265320
Diffstat (limited to 'share/man/man9/pget.9')
-rw-r--r--share/man/man9/pget.910
1 files changed, 6 insertions, 4 deletions
diff --git a/share/man/man9/pget.9 b/share/man/man9/pget.9
index dd56a824e69b..12eda29ca7c8 100644
--- a/share/man/man9/pget.9
+++ b/share/man/man9/pget.9
@@ -46,13 +46,13 @@ and fills a pointer to the
structure in
.Fa *pp .
In the latter case, a process owning the specified thread is looked for.
-The actual operation is performed by invoking the
+The operation is performed by invoking the
.Xr pfind 9
function.
The found process is returned locked.
-Only for
+For the
.Dv PGET_HOLD
-case it is returned unlocked (but held).
+case, it is returned unlocked (but held).
The
.Fn pget
function can
@@ -65,7 +65,7 @@ The
argument is the logical OR of some subset of:
.Bl -tag -width ".Dv PGET_NOTINEXEC"
.It Dv PGET_HOLD
-If set, the found process will be referenced and unlocked.
+If set, the found process will be held and unlocked.
.It Dv PGET_CANSEE
If set, the found process will be checked for its visibility.
See
@@ -93,6 +93,8 @@ If set,
is not assumed as a thread id for values larger than
.Dv PID_MAX .
.It Dv PGET_WANTREAD
+If set, the found process will be checked that the caller may get
+a read access to its structure.
A shorthand for
.Pq Dv PGET_HOLD | PGET_CANDEBUG | PGET_NOTWEXIT .
.El