Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
INJAIL(8)		     System Manager's Manual		       INJAIL(8)

NAME
     injail -- determine if a process is running in a jail

SYNOPSIS
     injail

DESCRIPTION
     The  injail  utility  returns a result which indicates the jailed status of
     the current process environment.

DIAGNOSTICS
     The injail 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.

BUGS
     injail uses kvm_getprocs(3) to determine  process	status.  Anything  which
     could  cause  a  failure in either kvm_open(3) or kvm_getprocs(3) can cause
     this to fail as well. There aught to be a cleaner way.

AUTHOR
      James E. Quick <jq@quick.com>

SEE ALSO
     jails(8), jail(8), jls(8), kvm(3)

FreeBSD ports 15.quarterly	  May 28, 2002			       INJAIL(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=injail&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help