HomeFreeBSD

Use chroot(2) instead of using prefixes for files.

Description

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

Details

Provenance
delphijAuthored on
Parents
rS289268: Update mtree to reflect new world of locales
Branches
Unknown
Tags
Unknown