Jamie Gritton ca04ba6430 Don't allow creating a socket with a protocol family that the current
jail doesn't support.  This involves a new function prison_check_af,
like prison_check_ip[46] but that checks only the family.

With this change, most of the errors generated by jailed sockets
shouldn't ever occur, at least until jails are changeable.

Approved by:	bz (mentor)
2009-02-05 14:15:18 +00:00
..
2009-01-30 15:27:04 +00:00
2009-01-28 18:00:22 +00:00
2009-01-25 16:52:41 +00:00
2009-01-28 11:04:27 +00:00
2009-01-15 11:54:31 +00:00