Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/syscall/
H A Ducredsys.c51 k_peercred_t kpc; in getpeerucred() local
55 kpc.pc_cr = NULL; in getpeerucred()
56 kpc.pc_cpid = -1; in getpeerucred()
66 err = VOP_IOCTL(vp, _I_GETPEERCRED, (intptr_t)&kpc, in getpeerucred()
79 strioc.ic_dp = (char *)&kpc; in getpeerucred()
108 if (kpc.pc_cr != NULL) { in getpeerucred()
111 uc = cred2ucred(kpc.pc_cr, kpc.pc_cpid, NULL, CRED()); in getpeerucred()
113 crfree(kpc.pc_cr); in getpeerucred()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c3031 k_peercred_t kpc; in prgetfdinfo() local
3038 error = VOP_IOCTL(vp, _I_GETPEERCRED, (intptr_t)&kpc, in prgetfdinfo()
3053 strioc.ic_dp = (char *)&kpc; in prgetfdinfo()
3064 if (error == 0 && kpc.pc_cr != NULL) { in prgetfdinfo()
3067 fdinfo->pr_peerpid = kpc.pc_cpid; in prgetfdinfo()
3069 crfree(kpc.pc_cr); in prgetfdinfo()