mirror_zfs/lib/libspl/os/linux
Ryan Moeller f5ddb3b481 libspl: Provide platform-specific zone implementations
FreeBSD has the concept of jails, a precursor to Solaris's zones, which
can be mapped to the required zones interface with relative ease.  The
previous ZFS implementation in FreeBSD did so, and we should continue
to provide an appropriate implementation in OpenZFS as well.

Move lib/libspl/zone.c into platform code and adopt the correct
implementation for FreeBSD.

While here, prune unused code.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Closes #10851
2020-09-03 16:16:04 -07:00
..
getexecname.c Add include files for prototypes 2020-06-18 12:21:25 -07:00
gethostid.c OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
getmntany.c OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zone.c libspl: Provide platform-specific zone implementations 2020-09-03 16:16:04 -07:00