Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 2014 12:32:37 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265320 - head/share/man/man9
Message-ID:  <201405041232.s44CWbNF067380@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pluknet
Date: Sun May  4 12:32:37 2014
New Revision: 265320
URL: http://svnweb.freebsd.org/changeset/base/265320

Log:
  Expand PGET_WANTREAD.  Language fixes.
  
  Submitted by:	jmg

Modified:
  head/share/man/man9/pget.9

Modified: head/share/man/man9/pget.9
==============================================================================
--- head/share/man/man9/pget.9	Sun May  4 12:20:40 2014	(r265319)
+++ head/share/man/man9/pget.9	Sun May  4 12:32:37 2014	(r265320)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405041232.s44CWbNF067380>