freebsd-dev/sys/net
Bjoern A. Zeeb 413628a7e3 MFp4:
Bring in updated jail support from bz_jail branch.

This enhances the current jail implementation to permit multiple
addresses per jail. In addtion to IPv4, IPv6 is supported as well.
Due to updated checks it is even possible to have jails without
an IP address at all, which basically gives one a chroot with
restricted process view, no networking,..

SCTP support was updated and supports IPv6 in jails as well.

Cpuset support permits jails to be bound to specific processor
sets after creation.

Jails can have an unrestricted (no duplicate protection, etc.) name
in addition to the hostname. The jail name cannot be changed from
within a jail and is considered to be used for management purposes
or as audit-token in the future.

DDB 'show jails' command was added to aid debugging.

Proper compat support permits 32bit jail binaries to be used on 64bit
systems to manage jails. Also backward compatibility was preserved where
possible: for jail v1 syscalls, as well as with user space management
utilities.

Both jail as well as prison version were updated for the new features.
A gap was intentionally left as the intermediate versions had been
used by various patches floating around the last years.

Bump __FreeBSD_version for the afore mentioned and in kernel changes.

Special thanks to:
- Pawel Jakub Dawidek (pjd) for his multi-IPv4 patches
  and Olivier Houchard (cognet) for initial single-IPv6 patches.
- Jeff Roberson (jeff) and Randall Stewart (rrs) for their
  help, ideas and review on cpuset and SCTP support.
- Robert Watson (rwatson) for lots and lots of help, discussions,
  suggestions and review of most of the patch at various stages.
- John Baldwin (jhb) for his help.
- Simon L. Nielsen (simon) as early adopter testing changes
  on cluster machines as well as all the testers and people
  who provided feedback the last months on freebsd-jail and
  other channels.
- My employer, CK Software GmbH, for the support so I could work on this.

Reviewed by:	(see above)
MFC after:	3 months (this is just so that I get the mail)
X-MFC Before:   7.2-RELEASE if possible
2008-11-29 14:32:14 +00:00
..
bpf_buffer.c Fill in BPF sysctl descriptions. 2008-07-25 23:58:09 +00:00
bpf_buffer.h Introduce support for zero-copy BPF buffering, which reduces the 2008-03-24 13:49:17 +00:00
bpf_filter.c Fix the last missing parentheses for a return statement in bpf_filter.c. 2008-08-29 20:00:55 +00:00
bpf_jitter.c Initialize scratch memory for JIT-compiled filter when it is allocated. 2008-08-28 16:40:51 +00:00
bpf_jitter.h Fix a typo in copyrights. 2008-08-25 20:43:13 +00:00
bpf_zerocopy.c Make sure we are clearing the ZBUF_FLAG_IMMUTABLE any time a free buffer 2008-07-05 20:11:28 +00:00
bpf_zerocopy.h Make sure we are clearing the ZBUF_FLAG_IMMUTABLE any time a free buffer 2008-07-05 20:11:28 +00:00
bpf.c Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
bpf.h Revert the previous commit to fix buildworld for now. 2008-08-26 16:12:49 +00:00
bpfdesc.h Remove trailing ';' in BPFD_LOCK_ASSERT macro. 2008-08-01 22:08:14 +00:00
bridgestp.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
bridgestp.h Fix spelling. 2007-12-09 20:47:12 +00:00
bsd_comp.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
ethernet.h Move CTASSERT of ether header sizes out of the header file and into 2008-08-27 17:10:37 +00:00
fddi.h
firewire.h
ieee8023ad_lacp.c Switch the LACP state machine over to its own mutex to protect the internals, 2008-03-16 19:25:30 +00:00
ieee8023ad_lacp.h Remove extra semicolons. 2008-03-17 01:26:44 +00:00
if_arc.h
if_arcsubr.c Make compile without INET. 2008-11-05 11:43:01 +00:00
if_arp.h
if_atm.h
if_atmsubr.c Revert a part of the MRT commit that proved un-needed. 2008-09-14 08:19:48 +00:00
if_bridge.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
if_bridgevar.h Add an option to limit the number of source MACs that can be behind a bridge 2007-11-04 08:32:27 +00:00
if_clone.c Fix clone destruction, can't use the simple api because that does not remove 2008-09-20 19:38:37 +00:00
if_clone.h Fix clone destruction, can't use the simple api because that does not remove 2008-09-20 19:38:37 +00:00
if_disc.c Add a comment explaining why disc(4) bears the IFF_LOOPBACK flag. 2007-10-27 19:57:41 +00:00
if_dl.h
if_edsc.c Give a hint that softc can contain many things besides ifp. 2007-03-26 09:05:10 +00:00
if_ef.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
if_enc.c Increase statistic counters for enc0 interface when enabled 2008-08-12 09:05:01 +00:00
if_enc.h Increase statistic counters for enc0 interface when enabled 2008-08-12 09:05:01 +00:00
if_ethersubr.c convert calls to IFQ_HANDOFF to if_transmit 2008-11-22 07:35:45 +00:00
if_faith.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
if_fddisubr.c convert calls to IFQ_HANDOFF to if_transmit 2008-11-22 07:35:45 +00:00
if_fwsubr.c convert calls to IFQ_HANDOFF to if_transmit 2008-11-22 07:35:45 +00:00
if_gif.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
if_gif.h Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
if_gre.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
if_gre.h Add support for the optional key in the GRE header. 2008-06-20 17:26:34 +00:00
if_iso88025subr.c Hide an unused variable in case we compile without INET. 2008-11-06 09:18:29 +00:00
if_lagg.c convert calls to IFQ_HANDOFF to if_transmit 2008-11-22 07:35:45 +00:00
if_lagg.h Fix two panics in lagg. 2007-10-12 03:03:16 +00:00
if_llc.h Move the __packed declarations. This makes sizeof(struct llc) 8 again 2006-12-01 17:50:11 +00:00
if_loop.c Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
if_media.c
if_media.h Make "1000baseT" the description and "1000baseTX" the alias for 2008-08-01 22:13:39 +00:00
if_mib.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
if_mib.h
if_ppp.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
if_ppp.h
if_pppvar.h Use callout mechanism instead of timeout()/untimeout(). 2006-12-05 18:54:21 +00:00
if_sl.c Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
if_slvar.h
if_sppp.h
if_spppfr.c
if_spppsubr.c Make compile without INET. 2008-11-05 12:02:25 +00:00
if_stf.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
if_stf.h
if_tap.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
if_tap.h Add new TAPGIFNAME tap(4) character device ioctl. This is a 2008-09-08 22:43:55 +00:00
if_tapvar.h
if_tun.c convert calls to IFQ_HANDOFF to if_transmit 2008-11-22 07:35:45 +00:00
if_tun.h
if_types.h Remove IPX over IP tunneling support, which allows IPX routing over IP 2007-06-13 14:01:43 +00:00
if_var.h - bump __FreeBSD version to reflect added buf_ring, memory barriers, 2008-11-22 05:55:56 +00:00
if_vlan_var.h Prepare for 802.1p: 2007-02-28 22:05:30 +00:00
if_vlan.c convert calls to IFQ_HANDOFF to if_transmit 2008-11-22 07:35:45 +00:00
if.c MFp4: 2008-11-29 14:32:14 +00:00
if.h Fix to bug kern/126850. Only dispatch event hander if the 2008-08-28 22:05:19 +00:00
iso88025.h
netisr.c Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netisr.h Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
pfil.c pfil(9) locking take 3: Switch to rmlock(9) 2007-11-25 12:41:47 +00:00
pfil.h pfil(9) locking take 3: Switch to rmlock(9) 2007-11-25 12:41:47 +00:00
pfkeyv2.h Commit the change from FAST_IPSEC to IPSEC. The FAST_IPSEC 2007-07-03 12:13:45 +00:00
ppp_comp.h
ppp_deflate.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
ppp_defs.h
ppp_tty.c Use callout mechanism instead of timeout()/untimeout(). 2006-12-05 18:54:21 +00:00
radix_mpath.c - Use RTFREE_LOCKED macro 2008-11-11 09:40:27 +00:00
radix_mpath.h When RADIX_MPATH is enabled, the route selection is not rotating 2008-05-30 09:34:35 +00:00
radix.c This patch provides the back end support for equal-cost multi-path 2008-04-13 05:45:14 +00:00
radix.h This patch provides the back end support for equal-cost multi-path 2008-04-13 05:45:14 +00:00
raw_cb.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
raw_cb.h Remove unused support for local and foreign addresses in generic raw 2008-07-09 15:48:16 +00:00
raw_usrreq.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
route.c Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
route.h Move #defines for MRT-related constants from net/route.c to 2008-09-20 09:09:25 +00:00
rtsock.c MFp4: 2008-11-29 14:32:14 +00:00
slcompress.c
slcompress.h
slip.h
vnet.h Unhide declarations of network stack virtualization structs from 2008-11-28 23:30:51 +00:00
zlib.c
zlib.h