svn commit: r245824 - head/sys/sys

John Baldwin jhb at FreeBSD.org
Tue Jan 22 20:37:31 UTC 2013


Author: jhb
Date: Tue Jan 22 20:37:31 2013
New Revision: 245824
URL: http://svnweb.freebsd.org/changeset/base/245824

Log:
  Similar to r245823, use decimal constants for UNIX domain socket options.
  
  MFC after:	1 week

Modified:
  head/sys/sys/un.h

Modified: head/sys/sys/un.h
==============================================================================
--- head/sys/sys/un.h	Tue Jan 22 19:45:04 2013	(r245823)
+++ head/sys/sys/un.h	Tue Jan 22 20:37:31 2013	(r245824)
@@ -53,9 +53,9 @@ struct sockaddr_un {
 #if __BSD_VISIBLE
 
 /* Socket options. */
-#define	LOCAL_PEERCRED		0x001	/* retrieve peer credentials */
-#define	LOCAL_CREDS		0x002	/* pass credentials to receiver */
-#define	LOCAL_CONNWAIT		0x004	/* connects block until accepted */
+#define	LOCAL_PEERCRED		1	/* retrieve peer credentials */
+#define	LOCAL_CREDS		2	/* pass credentials to receiver */
+#define	LOCAL_CONNWAIT		4	/* connects block until accepted */
 
 #ifndef _KERNEL
 


More information about the svn-src-all mailing list