100#define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private)
129 goto cleanup_authunix_create;
136 goto cleanup_authunix_create;
169 goto cleanup_authunix_create;
181 cleanup_authunix_create:
208 machname[
sizeof(machname) - 1] = 0;
212 if ((
len = getgroups(
NGRPS, gids)) < 0)
362 XDR *xdrs = &xdr_stream;
395static struct auth_ops *
398 static struct auth_ops ops;
404 if (ops.ah_nextverf ==
NULL) {
414 ops.ah_unwrap = authunix_unwrap;
#define gettimeofday(tv, tz)
AUTH * authunix_create_default()
static bool_t authunix_refresh(AUTH *, void *)
static bool_t authunix_validate(AUTH *, struct opaque_auth *, u_int)
static void authunix_destroy(AUTH *)
static bool_t authunix_wrap(AUTH *auth, XDR *xdrs, xdrproc_t func, caddr_t args, u_int seq)
static bool_t authunix_marshal(AUTH *, XDR *, u_int *seq)
AUTH * authunix_create(char *machname, uid_t uid, gid_t gid, int len, gid_t *aup_gids)
static void authunix_nextverf(AUTH *)
static void marshal_new_auth(AUTH *)
static struct auth_ops * authunix_ops(void)
#define AUTH_PRIVATE(auth)
bool_t xdr_authunix_parms(XDR *xdrs, struct authunix_parms *p)
#define mem_free(ptr, bsize)
INT WSAAPI gethostname(OUT char FAR *name, IN INT namelen)
#define memmove(s1, s2, n)
struct opaque_auth _null_auth
struct opaque_auth ah_cred
struct __auth::auth_ops * ah_ops
struct opaque_auth ah_verf
char au_marshed[MAX_AUTH_BYTES]
struct opaque_auth au_shcred
struct opaque_auth au_origcred
#define XDR_PUTBYTES(xdrs, addr, len)
#define XDR_SETPOS(xdrs, pos)
#define XDR_DESTROY(xdrs)
bool_t(* xdrproc_t)(XDR *,...)
void xdrmem_create(XDR *xdrs, char *addr, u_int size, enum xdr_op op)