Manual Reference Pages - INJAIL (8)
- determine if a process is running in a jail
utility returns a result which indicates the jailed status of
the current process environment.
utility exits with one of the following values:
the process is running in a jail.
the process is not running in a jail.
an error prevented determining if the process is running in a jail.
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.
James E. Quick <firstname.lastname@example.org>
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.