freebsd-skq/usr.sbin/tzsetup
delphij f704bed628 Use chroot(2) instead of using prefixes for files.
Previously, the code prefixes the chroot path to actual file paths to
simulate the effect.  This, however, will not work for tzset(3) which
expects the current system have a working set of timezone data files,
and that is not always the case.

This changeset simplifies the handling of paths and use an actual
chroot(2) call to implement the effect.

PR:		bin/197313
MFC after:	2 weeks
2015-10-13 22:55:17 +00:00
..
Makefile
Makefile.depend
tzsetup.8
tzsetup.c Use chroot(2) instead of using prefixes for files. 2015-10-13 22:55:17 +00:00