diff options
author | hrs <hrs@FreeBSD.org> | 2013-10-12 17:46:13 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-10-12 17:46:13 +0000 |
commit | 2a6361507410ac1bd935b61f13d48c2512bb6cc3 (patch) | |
tree | 0048bc06e3c532564c02909ee0434f7e88e55d3a /usr.sbin/jail/config.c | |
parent | 70d85b1cf39bf4f4d66a66b27b197046221e67f9 (diff) | |
download | FreeBSD-src-2a6361507410ac1bd935b61f13d48c2512bb6cc3.zip FreeBSD-src-2a6361507410ac1bd935b61f13d48c2512bb6cc3.tar.gz |
MFC 256385:
- Add mount.fdescfs parameter to jail(8). This is similar to
mount.devfs but mounts fdescfs. The mount happens just after
mount.devfs.
- rc.d/jail now displays whole error message from jail(8) when a jail
fails to start.
Approved by: re (gjb)
Diffstat (limited to 'usr.sbin/jail/config.c')
-rw-r--r-- | usr.sbin/jail/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/jail/config.c b/usr.sbin/jail/config.c index a201f31..5796708 100644 --- a/usr.sbin/jail/config.c +++ b/usr.sbin/jail/config.c @@ -83,6 +83,7 @@ static const struct ipspec intparams[] = { #endif [IP_MOUNT] = {"mount", PF_INTERNAL | PF_REV}, [IP_MOUNT_DEVFS] = {"mount.devfs", PF_INTERNAL | PF_BOOL}, + [IP_MOUNT_FDESCFS] = {"mount.fdescfs", PF_INTERNAL | PF_BOOL}, [IP_MOUNT_FSTAB] = {"mount.fstab", PF_INTERNAL}, [IP_STOP_TIMEOUT] = {"stop.timeout", PF_INTERNAL | PF_INT}, [IP_VNET_INTERFACE] = {"vnet.interface", PF_INTERNAL}, |