[BACK]Return to un.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / sys

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/sys/un.h between version 1.39 and 1.39.28.1

version 1.39, 2006/07/23 22:06:14 version 1.39.28.1, 2007/08/16 11:03:57
Line 36 
Line 36 
   
 #include <sys/ansi.h>  #include <sys/ansi.h>
 #include <sys/featuretest.h>  #include <sys/featuretest.h>
   #include <sys/types.h>
   
 #ifndef sa_family_t  #ifndef sa_family_t
 typedef __sa_family_t   sa_family_t;  typedef __sa_family_t   sa_family_t;
Line 57  struct sockaddr_un {
Line 58  struct sockaddr_un {
 #if defined(_NETBSD_SOURCE)  #if defined(_NETBSD_SOURCE)
 #define LOCAL_CREDS     0x0001          /* pass credentials to receiver */  #define LOCAL_CREDS     0x0001          /* pass credentials to receiver */
 #define LOCAL_CONNWAIT  0x0002          /* connects block until accepted */  #define LOCAL_CONNWAIT  0x0002          /* connects block until accepted */
   #define LOCAL_PEEREID   0x0003          /* get peer identification */
 #endif  #endif
   
   /*
    * Data automatically stored inside connect() for use by LOCAL_PEEREID
    */
   struct unpcbid {
           pid_t unp_pid;          /* process id */
           uid_t unp_euid;         /* effective user id */
           gid_t unp_egid;         /* effective group id */
   };
   
 #ifdef _KERNEL  #ifdef _KERNEL
 struct unpcb;  struct unpcb;
 struct socket;  struct socket;

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.39.28.1

CVSweb <webmaster@jp.NetBSD.org>