summaryrefslogtreecommitdiffstats
path: root/sys/sys/priv.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-03-14 11:45:19 +0000
committerglebius <glebius@FreeBSD.org>2014-03-14 11:45:19 +0000
commit960f3d0e062448ee0c0de40355fe7dafe6bdbdb5 (patch)
tree80bd280ed40ade33e1f0c982b75129f7f95a7e5a /sys/sys/priv.h
parent3cbab1b573ec89485665a9df32050f9671205fa5 (diff)
downloadFreeBSD-src-960f3d0e062448ee0c0de40355fe7dafe6bdbdb5.zip
FreeBSD-src-960f3d0e062448ee0c0de40355fe7dafe6bdbdb5.tar.gz
Add placeholders for IPX/SPX and AppleTalk priveledges, to avoid
number clashes with any future constants. Suggested by: rwatson
Diffstat (limited to 'sys/sys/priv.h')
-rw-r--r--sys/sys/priv.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/sys/priv.h b/sys/sys/priv.h
index 3a6d228..b773815 100644
--- a/sys/sys/priv.h
+++ b/sys/sys/priv.h
@@ -347,6 +347,11 @@
#define PRIV_NET80211_MANAGE 441 /* Administer 802.11. */
/*
+ * Placeholder for AppleTalk privileges, not supported anymore.
+ */
+#define _PRIV_NETATALK_RESERVEDPORT 450 /* Bind low port number. */
+
+/*
* ATM privileges.
*/
#define PRIV_NETATM_CFG 460
@@ -387,6 +392,12 @@
#define PRIV_NETINET_BINDANY 506 /* Allow bind to any address. */
/*
+ * Placeholders for IPX/SPX privileges, not supported any more.
+ */
+#define _PRIV_NETIPX_RESERVEDPORT 520 /* Bind low port number. */
+#define _PRIV_NETIPX_RAW 521 /* Open netipx raw socket. */
+
+/*
* NCP privileges.
*/
#define PRIV_NETNCP 530 /* Use another user's connection. */
OpenPOWER on IntegriCloud