svn commit: r263168 - head/sys/sys

Gleb Smirnoff glebius at FreeBSD.org
Fri Mar 14 11:45:20 UTC 2014


Author: glebius
Date: Fri Mar 14 11:45:19 2014
New Revision: 263168
URL: http://svnweb.freebsd.org/changeset/base/263168

Log:
  Add placeholders for IPX/SPX and AppleTalk priveledges, to avoid
  number clashes with any future constants.
  
  Suggested by:	rwatson

Modified:
  head/sys/sys/priv.h

Modified: head/sys/sys/priv.h
==============================================================================
--- head/sys/sys/priv.h	Fri Mar 14 10:30:17 2014	(r263167)
+++ head/sys/sys/priv.h	Fri Mar 14 11:45:19 2014	(r263168)
@@ -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. */


More information about the svn-src-all mailing list