svn commit: r265930 - stable/9/share/man/man9
Sergey Kandaurov
pluknet at FreeBSD.org
Mon May 12 20:19:41 UTC 2014
Author: pluknet
Date: Mon May 12 20:19:40 2014
New Revision: 265930
URL: http://svnweb.freebsd.org/changeset/base/265930
Log:
MFC r265285,r265320:
Documented the pget(9) system kernel interface.
Added:
stable/9/share/man/man9/pget.9
- copied, changed from r265285, head/share/man/man9/pget.9
Modified:
stable/9/share/man/man9/Makefile
Directory Properties:
stable/9/share/man/man9/ (props changed)
Modified: stable/9/share/man/man9/Makefile
==============================================================================
--- stable/9/share/man/man9/Makefile Mon May 12 20:16:48 2014 (r265929)
+++ stable/9/share/man/man9/Makefile Mon May 12 20:19:40 2014 (r265930)
@@ -188,6 +188,7 @@ MAN= accept_filter.9 \
pci.9 \
pfil.9 \
pfind.9 \
+ pget.9 \
pgfind.9 \
physio.9 \
pmap.9 \
Copied and modified: stable/9/share/man/man9/pget.9 (from r265285, head/share/man/man9/pget.9)
==============================================================================
--- head/share/man/man9/pget.9 Sat May 3 18:50:47 2014 (r265285, copy source)
+++ stable/9/share/man/man9/pget.9 Mon May 12 20:19:40 2014 (r265930)
@@ -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
More information about the svn-src-stable-9
mailing list