Searched refs:tcred (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/security/mac/ |
H A D | mac_syscalls.c | 169 struct ucred *tcred; in sys___mac_get_pid() local 182 tcred = NULL; /* Satisfy gcc. */ in sys___mac_get_pid() 185 tcred = crhold(tproc->p_ucred); in sys___mac_get_pid() 191 error = mac_cred_externalize_label(tcred->cr_label, mac.m_string, in sys___mac_get_pid() 196 crfree(tcred); in sys___mac_get_pid()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 4299 struct ucred *tcred; member 4312 char *fnamep, struct ucred *tcred, NFSPROC_T *p, struct vnode **nvpp) in nfsrv_dscreate() argument 4323 NFSNAMEICNDSET(&named.ni_cnd, tcred, CREATE, in nfsrv_dscreate() 4343 error = VOP_SETATTR(nvp, nvap, tcred); in nfsrv_dscreate() 4370 error = VOP_GETATTR(nvp, &va, tcred); in nfsrv_dscreate() 4410 dsc->pf, NULL, NULL, dsc->tcred, dsc->p, NULL); in start_dscreate() 4434 struct ucred *tcred; in nfsrv_pnfscreate() local 4512 tcred = newnfs_getcred(); in nfsrv_pnfscreate() 4521 tdsc->tcred = tcred; in nfsrv_pnfscreate() 4538 NULL, tcred, p, NULL); in nfsrv_pnfscreate() [all …]
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clstate.c | 2127 struct ucred *tcred; in nfscl_recover() local 2164 tcred = NULL; in nfscl_recover() 2216 tcred = newnfs_getcred(); in nfscl_recover() 2245 newnfs_copycred(&op->nfso_cred, tcred); in nfscl_recover() 2249 tcred, p); in nfscl_recover() 2298 lop->nfslo_type, tcred, p); in nfscl_recover() 2323 nfscl_expireclient(clp, nmp, tcred, p); in nfscl_recover() 2379 newnfs_copycred(&dp->nfsdl_cred, tcred); in nfscl_recover() 2380 newnfs_copyincred(tcred, &nop->nfso_cred); in nfscl_recover() 2385 delegtype, tcred, p); in nfscl_recover() [all …]
|
H A D | nfs_clrpcops.c | 845 struct ucred *tcred; in nfsrpc_doclose() local 851 tcred = newnfs_getcred(); in nfsrpc_doclose() 852 newnfs_copycred(&op->nfso_cred, tcred); in nfsrpc_doclose() 886 len, type, tcred, p, 0); in nfsrpc_doclose() 909 lp->nfsl_open->nfso_fhlen, tcred, p); in nfsrpc_doclose() 924 error = nfscl_tryclose(op, tcred, nmp, p, loop_on_delayed); in nfsrpc_doclose() 939 NFSFREECRED(tcred); in nfsrpc_doclose() 6786 struct ucred *tcred; in nfscl_dofflayoutio() local 6802 tcred = NFSNEWCRED(cred); in nfscl_dofflayoutio() 6803 tcred in nfscl_dofflayoutio() [all...] |