Lines Matching defs:auth
37 * level implementation of unix auth.
55 #include <rpc/auth.h>
81 * Returns an auth handle.
87 * Allocate and set up auth handle
99 AUTH *auth = (AUTH *)buf;
101 auth->ah_ops = &auth_kern_ops;
102 auth->ah_cred.oa_flavor = AUTH_UNIX;
103 auth->ah_verf = _null_auth;
113 authkern_nextverf(AUTH *auth)
119 authkern_marshal(AUTH *auth, XDR *xdrs, struct cred *cr)
179 * Make opaque auth credentials that point at serialized u struct
181 cred = &(auth->ah_cred);
188 if ((xdr_opaque_auth(xdrs, &(auth->ah_cred))) &&
189 (xdr_opaque_auth(xdrs, &(auth->ah_verf))))
200 authkern_validate(AUTH *auth, struct opaque_auth *verf)
207 authkern_refresh(AUTH *auth, struct rpc_msg *msg, cred_t *cr)
213 authkern_destroy(AUTH *auth)
215 kmem_cache_free(authkern_cache, auth);