Home
last modified time | relevance | path

Searched refs:au_origcred (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c136 au->au_origcred.oa_length = XDR_GETPOS(&xdrs); in authsys_create()
137 au->au_origcred.oa_flavor = AUTH_SYS; in authsys_create()
138 if ((au->au_origcred.oa_base = malloc(au->au_origcred.oa_length)) == in authsys_create()
146 (void) memcpy(au->au_origcred.oa_base, mymem, in authsys_create()
147 (size_t)au->au_origcred.oa_length); in authsys_create()
152 auth->ah_cred = au->au_origcred; in authsys_create()
274 auth->ah_cred = au->au_origcred; in authsys_validate()
299 xdrmem_create(&xdrs, au->au_origcred.oa_base, in authsys_refresh()
300 au->au_origcred.oa_length, XDR_DECODE); in authsys_refresh()
313 auth->ah_cred = au->au_origcred; in authsys_refresh()
[all …]
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dauth_unix.c63 struct opaque_auth au_origcred; /* original credentials */ member
127 au->au_origcred.oa_length = len = XDR_GETPOS(&xdrs); in authunix_create()
128 au->au_origcred.oa_flavor = (uint_t)AUTH_UNIX; in authunix_create()
129 if ((au->au_origcred.oa_base = bkmem_alloc((uint_t)len)) == NULL) { in authunix_create()
132 (void) bcopy(mymem, au->au_origcred.oa_base, (uint_t)len); in authunix_create()
137 auth->ah_cred = au->au_origcred; in authunix_create()
180 auth->ah_cred = au->au_origcred; in authunix_validate()
197 if (auth->ah_cred.oa_base == au->au_origcred.oa_base) { in authunix_refresh()
206 xdrmem_create(&xdrs, au->au_origcred.oa_base, in authunix_refresh()
207 au->au_origcred.oa_length, XDR_DECODE); in authunix_refresh()
[all …]