freebsd-nq/share/man/man9
Poul-Henning Kamp 75c1354190 This Implements the mumbled about "Jail" feature.
This is a seriously beefed up chroot kind of thing.  The process
is jailed along the same lines as a chroot does it, but with
additional tough restrictions imposed on what the superuser can do.

For all I know, it is safe to hand over the root bit inside a
prison to the customer living in that prison, this is what
it was developed for in fact:  "real virtual servers".

Each prison has an ip number associated with it, which all IP
communications will be coerced to use and each prison has its own
hostname.

Needless to say, you need more RAM this way, but the advantage is
that each customer can run their own particular version of apache
and not stomp on the toes of their neighbors.

It generally does what one would expect, but setting up a jail
still takes a little knowledge.

A few notes:

   I have no scripts for setting up a jail, don't ask me for them.

   The IP number should be an alias on one of the interfaces.

   mount a /proc in each jail, it will make ps more useable.

   /proc/<pid>/status tells the hostname of the prison for
   jailed processes.

   Quotas are only sensible if you have a mountpoint per prison.

   There are no privisions for stopping resource-hogging.

   Some "#ifdef INET" and similar may be missing (send patches!)

If somebody wants to take it from here and develop it into
more of a "virtual machine" they should be most welcome!

Tools, comments, patches & documentation most welcome.

Have fun...

Sponsored by:   http://www.rndassociates.com/
Run for almost a year by:       http://www.servetheweb.com/
1999-04-28 11:38:52 +00:00
..
at_exit.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
at_fork.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
at_shutdown.9 Add a new at_shutdown queue, SHUTDOWN_FINAL. This queue is run at 1998-09-15 08:48:57 +00:00
bios.9 Fixed a missing #include in the synopsis. 1998-01-16 18:06:23 +00:00
boot.9 Fixed #include(s) in the synopsis to actually declare the function(s) in the 1997-04-11 17:58:16 +00:00
buf.9 Fix some spelling errors. 1999-02-01 22:55:54 +00:00
BUS_CONNECT_INTR.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
BUS_CREATE_INTR.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
bus_generic_attach.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
bus_generic_detach.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
bus_generic_map_intr.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
bus_generic_print_child.9 Fixed wrong function prototype(s) in synopsis. 1999-03-06 17:25:50 +00:00
bus_generic_read_ivar.9 Fixed bitrot in synopsis (u_long changed to uintptr_t for portability). 1999-03-06 17:21:14 +00:00
bus_generic_shutdown.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
BUS_PRINT_CHILD.9 Fixed wrong function prototype(s) in synopsis. 1999-03-06 17:25:50 +00:00
BUS_READ_IVAR.9 Fixed bitrot in synopsis (u_long changed to uintptr_t for portability). 1999-03-06 17:21:14 +00:00
cd.9 Change the worm(4) man page to note that there is no longer a worm(4) 1998-10-16 00:26:28 +00:00
copy.9 Strings are terminated by NUL, not NULL. 1998-02-28 15:35:22 +00:00
devclass_add_driver.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass_find.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass_get_device.9 Fixed wrong function prototype(s) in synopsis. 1999-03-06 17:25:50 +00:00
devclass_get_devices.9 Fixed C syntax error in synopsis. 1999-03-06 17:14:24 +00:00
devclass_get_maxunit.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass_get_name.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass_get_softc.9 Fixed wrong function prototype(s) in synopsis. 1999-03-06 17:25:50 +00:00
devclass.9 Fix some spelling errors. 1999-02-01 22:55:54 +00:00
devfs_add_devswf.9 Sort cross references. 1998-08-31 16:41:09 +00:00
devfs_link.9 Fixed bitrot in synopsis (devfs_link was renamed to devfs_makelink). 1999-03-06 17:37:20 +00:00
devfs_remove_dev.9 Sort cross references. 1998-08-31 16:41:09 +00:00
device_add_child.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
DEVICE_ATTACH.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_delete_child.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
DEVICE_DETACH.9 Fixed wrong function prototype(s) in synopsis. 1999-03-06 17:25:50 +00:00
device_enable.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_find_child.9 Fixed wrong function prototype(s) in synopsis. 1999-03-06 17:25:50 +00:00
device_get_devclass.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_driver.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_ivars.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_softc.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_state.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_unit.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_probe_and_attach.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
DEVICE_PROBE.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_set_desc.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
DEVICE_SHUTDOWN.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device.9 Fix some spelling errors. 1999-02-01 22:55:54 +00:00
devstat.9 Fixed bitrot in synopsis (const poisoning hadn't reached here). 1999-03-06 17:10:15 +00:00
driver.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
fetch.9 Fixed bitrot in synopsis (fuword() and suword() changed to support alpha). 1999-03-06 17:04:18 +00:00
ifnet.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
inittodr.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
intro.9 Expanded cross references. 1998-01-02 19:22:52 +00:00
kernacc.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
Makefile Document the flags and p parameters to VOP_LOCK and VOP_UNLOCK. Also, 1999-03-17 20:17:32 +00:00
malloc.9 Removed occurrences of consecutive repeated words (such as "the the"). 1999-02-12 02:12:08 +00:00
MD5.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
mi_switch.9 Typo fix: sq --> qs 1997-05-12 01:56:31 +00:00
microseq.9 Fixed missing headers in synopsis. 1999-03-06 17:07:29 +00:00
namei.9 Fixed missing headers in synopsis. 1999-03-06 17:07:29 +00:00
panic.9 Add panic(9). 1997-02-13 17:02:28 +00:00
physio.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
posix4.9 Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and 1998-03-28 11:51:01 +00:00
psignal.9 Cleaned up synopsis: 1997-04-11 17:55:19 +00:00
resettodr.9 Fixed #include(s) in the synopsis to actually declare the function(s) in the 1997-04-11 17:58:16 +00:00
rtalloc.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
rtentry.9 Insert a missing newline. 1998-06-24 13:30:25 +00:00
sleep.9 Fix some spelling errors. 1999-02-01 22:55:54 +00:00
spl.9 Removed all `vector xxxintr' specifications. Interrupt handlers are now 1998-10-22 15:53:06 +00:00
store.9 Fixed bitrot in synopsis (fuword() and suword() changed to support alpha). 1999-03-06 17:04:18 +00:00
style.9 Slightly relax the requirements fro removing extra braces and parenthesis. 1999-01-30 04:17:14 +00:00
suser.9 This Implements the mumbled about "Jail" feature. 1999-04-28 11:38:52 +00:00
time.9 Add time(9) to document the kernel time variables. Obtained from 1997-03-22 19:09:31 +00:00
timeout.9 Fixed synopsis again. Too much was blown away by splatting a NetBSD- 1998-01-16 18:45:52 +00:00
uio.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
VFS_FHTOVP.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_INIT.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VFS_MOUNT.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_QUOTACTL.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_ROOT.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_START.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_STATFS.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_SYNC.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_UNMOUNT.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_VGET.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_VPTOFH.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
vget.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
vnode.9 Add a section on vnode types. Mostly based on information supplied by 1998-09-28 23:36:35 +00:00
VOP_ABORTOP.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_ACCESS.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_ADVLOCK.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_ATTRIB.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_BWRITE.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_CREATE.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_FSYNC.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_GETPAGES.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_INACTIVE.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_IOCTL.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_LINK.9 Clarify more of what VOP_LINK expects. 1999-02-13 07:56:49 +00:00
VOP_LOCK.9 Fixed bitrot in synopsis. 1999-03-26 02:11:59 +00:00
VOP_LOOKUP.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_MMAP.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_OPENCLOSE.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_PATHCONF.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_PRINT.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_RDWR.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_READDIR.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_READLINK.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_REALLOCBLKS.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_REMOVE.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_RENAME.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_STRATEGY.9 FIxed bitrot in prototype in synopsis. 1998-08-03 17:27:41 +00:00
VOP_VPTOFH.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
vput.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
vref.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
vrele.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
vslock.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00