summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_jail.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c
index 780b89a..1573f5a 100644
--- a/sys/kern/kern_jail.c
+++ b/sys/kern/kern_jail.c
@@ -710,9 +710,11 @@ prison_priv_check(struct ucred *cred, int priv)
return (EPERM);
/*
- * Allow jailed root to bind reserved ports.
+ * Allow jailed root to bind reserved ports and reuse in-use
+ * ports.
*/
case PRIV_NETINET_RESERVEDPORT:
+ case PRIV_NETINET_REUSEPORT:
return (0);
/*
OpenPOWER on IntegriCloud