summaryrefslogtreecommitdiffstats
path: root/sys/sys/priv.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-04-10 15:58:38 +0000
committerrwatson <rwatson@FreeBSD.org>2007-04-10 15:58:38 +0000
commit3e9709c5513e6596840403fca428e826608a4bc4 (patch)
tree6119cb734ddaa9c04bd2ba4c76f5ab21d3c8a086 /sys/sys/priv.h
parentfc1b9c146d4d1e857dc4eb0d4f003b3fd6600295 (diff)
downloadFreeBSD-src-3e9709c5513e6596840403fca428e826608a4bc4.zip
FreeBSD-src-3e9709c5513e6596840403fca428e826608a4bc4.tar.gz
Add a new privilege, PRIV_NETINET_REUSEPORT, which will replace superuser
checks to see whether bind() can reuse a port/address combination while it's already in use (for some definition of use).
Diffstat (limited to 'sys/sys/priv.h')
-rw-r--r--sys/sys/priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/priv.h b/sys/sys/priv.h
index d5b9cd3..150c9a1 100644
--- a/sys/sys/priv.h
+++ b/sys/sys/priv.h
@@ -368,6 +368,7 @@
#define PRIV_NETINET_SCOPE6 501 /* Administer IPv6 address scopes. */
#define PRIV_NETINET_ALIFETIME6 502 /* Administer IPv6 address lifetimes. */
#define PRIV_NETINET_IPSEC 503 /* Administer IPSEC. */
+#define PRIV_NETINET_REUSEPORT 504 /* Allow [rapid] port/address reuse. */
/*
* IPX/SPX privileges.
OpenPOWER on IntegriCloud