summaryrefslogtreecommitdiff
path: root/static/freebsd/man9/p_cansee.9 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man9/p_cansee.9 4.html')
-rw-r--r--static/freebsd/man9/p_cansee.9 4.html63
1 files changed, 0 insertions, 63 deletions
diff --git a/static/freebsd/man9/p_cansee.9 4.html b/static/freebsd/man9/p_cansee.9 4.html
deleted file mode 100644
index 42823bc6..00000000
--- a/static/freebsd/man9/p_cansee.9 4.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">P_CANSEE(9)</td>
- <td class="head-vol">Kernel Developer's Manual</td>
- <td class="head-rtitle">P_CANSEE(9)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">p_cansee</code> &#x2014;
- <span class="Nd">determine visibility of a process</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<p class="Pp"><code class="In">#include
- &lt;<a class="In">sys/proc.h</a>&gt;</code></p>
-<p class="Pp"><var class="Ft">int</var>
- <br/>
- <code class="Fn">p_cansee</code>(<var class="Fa" style="white-space: nowrap;">struct
- thread *td</var>, <var class="Fa" style="white-space: nowrap;">struct proc
- *p</var>);</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">This function determines if a given process
- <var class="Fa">p</var> is visible to the thread <var class="Fa">td</var>,
- where the notion of &#x201C;visibility&#x201D; may be read as
- &#x201C;awareness of existence&#x201D;.</p>
-<p class="Pp">This function explicitly allows a thread to always see its own
- process, even with pending credentials changes (see
- <a class="Xr">ucred(9)</a>). Otherwise, it simply defers to
- <a class="Xr">cr_cansee(9)</a>.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN
- VALUES</a></h1>
-<p class="Pp">The <code class="Fn">p_cansee</code>() function returns
- <code class="Li">0</code> if the process denoted by <var class="Fa">p</var>
- is visible by thread <var class="Fa">td</var>, or ESRCH otherwise.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1>
-<dl class="Bl-tag">
- <dt id="ESRCH">[<a class="permalink" href="#ESRCH"><code class="Er">ESRCH</code></a>]</dt>
- <dd>Thread <var class="Fa">td</var> is not part of process
- <var class="Fa">p</var> and cannot see it as determined by
- <a class="Xr">cr_cansee(9)</a>.</dd>
-</dl>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">cr_cansee(9)</a>, <a class="Xr">p_candebug(9)</a>,
- <a class="Xr">ucred(9)</a></p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">August 18, 2023</td>
- <td class="foot-os">FreeBSD 15.0</td>
- </tr>
-</table>