version 1.39, 2006/07/23 22:06:14 |
version 1.39.28.1, 2007/08/16 11:03:57 |
|
|
|
|
#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; |