freebsd_amp_hwpstate/lib
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
..
compat Add libf2c.so.2 for our FORTRAN friends. 1999-04-22 19:10:48 +00:00
csu Remove some left-over stuff from NetBSD that we don't need. This 1999-04-24 02:07:17 +00:00
libalias Work around an egcs optimizer bug (i386). This should fix the active ftp 1999-04-21 21:28:01 +00:00
libatm
libbind
libc This Implements the mumbled about "Jail" feature. 1999-04-28 11:38:52 +00:00
libc_r [ The author's description... ] 1999-03-23 05:07:56 +00:00
libcalendar
libcam Fixed missing header in synopsis (<camlib.h> includes half the universe 1999-03-05 17:11:37 +00:00
libcom_err
libcompat
libcrypt Simplified using new SYMLINKS macro, mainly to test this macro. The 1999-03-23 03:41:09 +00:00
libcurses
libdevstat Address our users in a civilized manner. (They may know better, but probably 1999-03-22 10:38:07 +00:00
libdisk More egcs warning fixes: 1999-04-25 22:29:30 +00:00
libedit
libfetch Fixed prototype for fetchParseURL(). 1999-03-05 18:45:32 +00:00
libftpio Cause PORT commands to use the high IP port range. This makes fetch 1999-03-30 22:06:08 +00:00
libgnumalloc
libio
libipx
libkse [ The author's description... ] 1999-03-23 05:07:56 +00:00
libkvm Oops, the previous log message should have been: 1999-04-10 03:49:43 +00:00
libm
libmd
libmytinfo
libncurses More egcs warning fixes: 1999-04-25 22:29:30 +00:00
libopie
libpam Fix bug that prevented accounts with empty passwords from logging 1999-04-06 19:48:53 +00:00
libpcap
libpthread [ The author's description... ] 1999-03-23 05:07:56 +00:00
libradius
libresolv
librpcsvc
libskey Fixed bitrot in synopsis (some const poisoning hadn't reached here). 1999-03-05 15:50:07 +00:00
libss
libstand More egcs warning fixes: 1999-04-25 22:29:30 +00:00
libtacplus
libtelnet
libtermcap
libutil oops, add pwd!=NULL check to previous fix 1999-04-24 17:17:42 +00:00
libvgl
libwrap Add data storage for two application-provided variables. 1999-04-03 03:29:14 +00:00
libxpg4
liby
libz
msun
ncurses/ncurses
Makefile Turn off libf2c. Superseeded by EGCS's libg2c. 1999-04-18 09:50:58 +00:00
Makefile.inc