1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Allow PRIV_NETINET_REUSEPORT in jail.

This commit is contained in:
Robert Watson 2007-04-10 15:59:49 +00:00
parent 6493245ded
commit 4b08405682
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168591

View File

@ -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);
/*