blob: 6854e73d3dbeb5a50e62e5cff9e180503d79c6d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<HTML>
<BODY>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
</PRE>
<H2>DESCRIPTION</H2><PRE>
The <B>injail</B> utility returns a result which indicates the jailed status of
the current process environment.
</PRE>
<H2>DIAGNOSTICS</H2><PRE>
The <B>injail</B> utility exits with one of the following values:
0 the process is running in a jail.
1 the process is not running in a jail.
2 an error prevented determining if the process is running in a
jail.
</PRE>
<H2>BUGS</H2><PRE>
<B>injail</B> uses <B>kvm_getprocs(3)</B> to determine process status. Anything which
could cause a failure in either <B>kvm_open(3)</B> or <B>kvm_getprocs(3)</B> can cause
this to fail as well. There aught to be a cleaner way.
</PRE>
<H2>AUTHOR</H2><PRE>
James E. Quick <jq@quick.com>
</PRE>
<H2>SEE ALSO</H2><PRE>
<B>jailer(8)</B>, <B>jail(8)</B>, <B>kvm(3)</B>
FreeBSD 4.6 May 28, 2002 FreeBSD 4.6
</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>
|