summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-04-10 15:59:49 +0000
committerrwatson <rwatson@FreeBSD.org>2007-04-10 15:59:49 +0000
commit2a4022384113c27d927221bb9d4dddb654a88036 (patch)
tree9ca6ada1087e962519992efacf234cbd0500e123 /sys/kern
parent3e9709c5513e6596840403fca428e826608a4bc4 (diff)
downloadFreeBSD-src-2a4022384113c27d927221bb9d4dddb654a88036.zip
FreeBSD-src-2a4022384113c27d927221bb9d4dddb654a88036.tar.gz
Allow PRIV_NETINET_REUSEPORT in jail.
Diffstat (limited to 'sys/kern')
-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