summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail/config.c
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2012-02-27 22:37:35 +0000
committerjamie <jamie@FreeBSD.org>2012-02-27 22:37:35 +0000
commit6fe59c6c06d9b42a052d1fb76fdbd3237ffba98e (patch)
tree90dfaafdc1a8e275adbb456494f3f02df99d94c7 /usr.sbin/jail/config.c
parentce34112a7dc2c5d7092d69bc27eac385caeae9cd (diff)
downloadFreeBSD-src-6fe59c6c06d9b42a052d1fb76fdbd3237ffba98e.zip
FreeBSD-src-6fe59c6c06d9b42a052d1fb76fdbd3237ffba98e.tar.gz
Use the defvs_ruleset paramater when mounting a jail's /dev,
instead of a mount.devfs.ruleset pseudo-parameter.
Diffstat (limited to 'usr.sbin/jail/config.c')
-rw-r--r--usr.sbin/jail/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/jail/config.c b/usr.sbin/jail/config.c
index 941a446..7080a59 100644
--- a/usr.sbin/jail/config.c
+++ b/usr.sbin/jail/config.c
@@ -81,7 +81,6 @@ static const struct ipspec intparams[] = {
#endif
[IP_MOUNT] = {"mount", PF_INTERNAL},
[IP_MOUNT_DEVFS] = {"mount.devfs", PF_INTERNAL | PF_BOOL},
- [IP_MOUNT_DEVFS_RULESET]= {"mount.devfs.ruleset", PF_INTERNAL},
[IP_MOUNT_FSTAB] = {"mount.fstab", PF_INTERNAL},
[IP_STOP_TIMEOUT] = {"stop.timeout", PF_INTERNAL | PF_INT},
[IP_VNET_INTERFACE] = {"vnet.interface", PF_INTERNAL},
@@ -99,6 +98,7 @@ static const struct ipspec intparams[] = {
[KP_ALLOW_SET_HOSTNAME]= {"allow.set_hostname", 0},
[KP_ALLOW_SOCKET_AF] = {"allow.socket_af", 0},
[KP_ALLOW_SYSVIPC] = {"allow.sysvipc", 0},
+ [KP_DEVFS_RULESET] = {"devfs_ruleset", 0},
[KP_ENFORCE_STATFS] = {"enforce_statfs", 0},
[KP_HOST_HOSTNAME] = {"host.hostname", 0},
#ifdef INET
OpenPOWER on IntegriCloud