chroot: add DragonFly BSD support
commit847b25f6aa865967d0b118c0fe1082cd6b47b352
authorKyle J. McKay <mackyle@gmail.com>
Wed, 21 Sep 2016 05:25:36 +0000 (20 22:25 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 21 Sep 2016 05:25:36 +0000 (20 22:25 -0700)
treeb9f40f4a3b518d522c50c28ce9e31b284207418a
parentb0ec2756608a31273a9fc13fa440e151167b89fc
chroot: add DragonFly BSD support

The support is basically the same as the FreeBSD support except
that DragonFly BSD uses devfsctl to modify devfs mounts and there's
no system-provided devfs ruleset for chroots so we must provide one.

Additionally, DragonFly BSD does not have any netcat port available
with support for the -U option.  This is a problem even for non-chroot
installations of Girocco.  Therefore we provide src/dragonfly with a
suitable (OpenBSD) version of netcat (nc.openbsd) for DragonFly BSD.o

Various comments are added to note the new additions and subtle
differences (such as the loopback fs type being null instead of nullfs).

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
12 files changed:
Girocco/Config.pm
chrootsetup_dragonfly.sh [new file with mode: 0644]
fstab/devfsctl_chroot_ruleset [new file with mode: 0644]
fstab/fstab.girocco
jailsetup.sh
src/dragonfly/Makefile [new file with mode: 0644]
src/dragonfly/README [new file with mode: 0644]
src/dragonfly/atomicio.c [new file with mode: 0644]
src/dragonfly/atomicio.h [new file with mode: 0644]
src/dragonfly/nc.1 [new file with mode: 0644]
src/dragonfly/netcat.c [new file with mode: 0644]
src/dragonfly/socks.c [new file with mode: 0644]