]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Some jail parameters (in particular, "ip4" and "ip6" for IP address
authorjamie <jamie@FreeBSD.org>
Sat, 25 Jul 2009 14:48:57 +0000 (14:48 +0000)
committerjamie <jamie@FreeBSD.org>
Sat, 25 Jul 2009 14:48:57 +0000 (14:48 +0000)
commit274ea197bb2f446e42dd6f17d5046b348d26d82d
treee2f5557445f7151dc18cefe88f9b884b83f55993
parent0888b985acf99a673549ca79a753e47d3e98fe9a
Some jail parameters (in particular, "ip4" and "ip6" for IP address
restrictions) were found to be inadequately described by a boolean.
Define a new parameter type with three values (disable, new, inherit)
to handle these and future cases.

Approved by: re (kib), bz (mentor)
Discussed with: rwatson
lib/libjail/jail.c
lib/libjail/jail.h
sys/compat/linux/linux_mib.c
sys/kern/kern_jail.c
sys/sys/jail.h
usr.sbin/jail/jail.8
usr.sbin/jls/jls.c