summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail/config.c
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2015-02-10 01:05:51 +0000
committerjamie <jamie@FreeBSD.org>2015-02-10 01:05:51 +0000
commitf8ff07ebef14d8d87007863c4b3bfcf35f6b515f (patch)
tree8edd7cea4fda74d466ec21cd28242837d73a9771 /usr.sbin/jail/config.c
parent715b3cae1f17b5ea056fd103ad87563421deac63 (diff)
downloadFreeBSD-src-f8ff07ebef14d8d87007863c4b3bfcf35f6b515f.zip
FreeBSD-src-f8ff07ebef14d8d87007863c4b3bfcf35f6b515f.tar.gz
MFC r278323:
Add mount.procfs jail parameter, so procfs can be mounted when a prison's root is in its fstab. Also fix a typo while I'm at it. PR: 197237 197066
Diffstat (limited to 'usr.sbin/jail/config.c')
-rw-r--r--usr.sbin/jail/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/jail/config.c b/usr.sbin/jail/config.c
index cd02a50..5820209 100644
--- a/usr.sbin/jail/config.c
+++ b/usr.sbin/jail/config.c
@@ -84,6 +84,7 @@ static const struct ipspec intparams[] = {
[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_PROCFS] = {"mount.procfs", 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},
OpenPOWER on IntegriCloud