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:
parent
6493245ded
commit
4b08405682
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168591
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user