jail_attach man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

JAIL_ATTACH(2)		    BSD System Calls Manual		JAIL_ATTACH(2)

NAME
     jail_attach — attach current process to an existing jail

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <sys/types.h>
     #include <sys/jail.h>

     int
     jail_attach(int id);

DESCRIPTION
     The jail_attach system call attaches the current process to an existing
     jail referenced by id.

     The argument is an int referencing the ID of the prison.

ERRORS
     jail_attach() will fail if:

     [EPERM]		The user is not the super user, or is already in a
			prison.

     [EINVAL]		The prison referenced by id does not exist.

SEE ALSO
     chroot(2), jail(2), jail(8), jexec(8), jls(8)

HISTORY
     The jail_attach() function call first appeared in FreeBSD 5.1 and subse‐
     quently appeared in DragonFly 1.1

AUTHORS
     The jail_attach man page was written by Paul Herman.

BSD			       January 31, 2005				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net