freebsd-dev/usr.sbin/jail
Martin Matuska d637f5bf9a Try resolving jail path with realpath(3).
jail(8) does a chdir(2) to the given path argument. Kernel evaluates the
jail path from the new cwd and not from the original cwd, which leads to
undesired behavior if given a relative path.

Reviewed by:	jamie
MFC after:	2 weeks
2012-01-24 08:04:38 +00:00
..
jail.8 Always disable mount and unmount for jails with enforce_statfs==2. 2011-08-02 19:44:40 +00:00
jail.c Try resolving jail path with realpath(3). 2012-01-24 08:04:38 +00:00
Makefile Check for IPv4 or IPv6 to be available by the kernel to not 2011-05-29 21:03:40 +00:00