Home
last modified time | relevance | path

Searched refs:f_cred (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/uts/common/syscall/
H A Dpipe.c144 if (error = fifo_stropen(&vp1, FWRITE|FREAD, fp1->f_cred, 0, 0)) in pipe()
147 if (error = fifo_stropen(&vp2, FWRITE|FREAD, fp2->f_cred, 0, 0)) { in pipe()
149 fp1->f_cred, NULL); in pipe()
165 if (error = VOP_SETFL(vp1, flag1, iflags, fp1->f_cred, NULL)) { in pipe()
170 if (error = VOP_SETFL(vp2, flag2, iflags, fp2->f_cred, NULL)) { in pipe()
205 (void) VOP_CLOSE(vp1, FWRITE|FREAD, 1, (offset_t)0, fp1->f_cred, NULL); in pipe()
206 (void) VOP_CLOSE(vp2, FWRITE|FREAD, 1, (offset_t)0, fp2->f_cred, NULL); in pipe()
H A Dlseek.c113 if (error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL)) { in lseek32_common()
143 error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL); in lseek32_common()
172 error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL); in lseek32_common()
294 if ((error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL)) != 0) in lseek64()
319 error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL); in lseek64()
347 error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL); in lseek64()
H A Drw.c116 error = nbl_svmand(vp, fp->f_cred, &svmand); in read()
181 error = VOP_READ(vp, &auio, ioflag, fp->f_cred, NULL); in read()
252 error = nbl_svmand(vp, fp->f_cred, &svmand); in write()
405 error = nbl_svmand(vp, fp->f_cred, &svmand); in pread()
559 error = nbl_svmand(vp, fp->f_cred, &svmand); in pwrite()
719 error = nbl_svmand(vp, fp->f_cred, &svmand); in readv()
911 error = nbl_svmand(vp, fp->f_cred, &svmand); in writev()
1149 error = nbl_svmand(vp, fp->f_cred, &svmand); in preadv()
1367 error = nbl_svmand(vp, fp->f_cred, &svmand); in pwritev()
1479 error = nbl_svmand(vp, fp->f_cred, &svmand); in pread64()
[all …]
H A Dfdsync.c65 if (error = VOP_FSYNC(fp->f_vnode, syncflag, fp->f_cred, NULL)) in fdsync()
H A Dgetdents.c121 error = VOP_READDIR(vp, &auio, fp->f_cred, &sink, NULL, 0); in getdents32()
228 error = VOP_READDIR(vp, &auio, fp->f_cred, &sink, NULL, 0); in getdents64()
H A Dfcntl.c242 if ((error = VOP_SETFL(vp, flag, iarg, fp->f_cred, NULL)) == in fcntl()
394 &bf, flag, offset, NULL, fp->f_cred, NULL)) != 0) in fcntl()
638 error = VOP_SPACE(vp, cmd, &bf, flag, offset, fp->f_cred, NULL); in fcntl()
743 NULL, fp->f_cred, NULL)) != 0) in fcntl()
813 error = VOP_SHRLOCK(vp, cmd, &shr, flag, fp->f_cred, NULL); in fcntl()
H A Dsendfile.c157 fp->f_cred, NULL); in sendvec_chunk64()
272 fp->f_cred, NULL); in sendvec_chunk64()
314 fp->f_cred, NULL); in sendvec_chunk64()
628 fp->f_cred, NULL); in sendvec_small_chunk()
849 fp->f_cred, NULL); in sendvec_chunk()
1031 fp->f_cred, NULL); in sendvec_chunk()
1099 fp->f_cred, NULL); in sendvec_chunk()
H A Dpathconf.c133 retval = cpathconf(fp->f_vnode, name, fp->f_cred); in fpathconf()
H A Dioctl.c90 error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL); in ioctl()
H A Dmmapobjsys.c148 error = mmapobj(vp, flags, mrp, &num_mapped, padding, fp->f_cred); in mmapobjsys()
H A Dstat.c93 cr = fp->f_cred; in cstatat_getvp()
146 error = statfn(fp->f_vnode, sb, 0, fp->f_cred); \
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kopen.c110 if (cr != fp->f_cred) { in t_kopen()
112 crfree(fp->f_cred); in t_kopen()
113 fp->f_cred = cr; in t_kopen()
H A Dt_koptmgmt.c115 fp->f_cred, &retval); in t_koptmgmt()
H A Dt_kbind.c117 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, fp->f_cred, in t_kbind()
H A Dt_ksndudat.c144 unitdata->opt.len, fp->f_cred, NOPID))) { in t_ksndudata()
H A Dt_kconnect.c99 fp->f_cred, NOPID))) { in t_kconnect()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/privs/
H A Dtst.getf.ksh42 CANREAD(f_cred)
/illumos-gate/usr/src/ucbhead/sys/
H A Dfile.h65 struct cred *f_cred; /* credentials of user who opened it */ member
/illumos-gate/usr/src/uts/common/sys/
H A Dfile.h67 struct cred *f_cred; /* credentials of user who opened it */ member
/illumos-gate/usr/src/uts/common/os/
H A Dfio.c961 error = VOP_CLOSE(vp, flag, count, offset, fp->f_cred, NULL); in closef()
990 crfree(fp->f_cred); in closef()
1125 crhold(fp->f_cred = CRED()); in falloc()
1173 crfree(fp->f_cred); in unfalloc()
1399 if (error = VOP_OPEN(vpp, mode, fp->f_cred, NULL)) { in fassign()
H A Dgrow.c804 error = nbl_svmand(vp, fp->f_cred, &svmand); in smmap_common()
830 addrp, len, uprot, maxprot, flags, fp->f_cred, NULL); in smmap_common()
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c935 if ((error = fifo_stropen(&vp1, FREAD|FWRITE, filep->f_cred, 0, 0)) != in fifo_connld()
937 (error = fifo_stropen(&vp2, flag, filep->f_cred, 0, 0)) != 0) { in fifo_connld()
1031 c = filep->f_cred; in fifo_connld()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c1131 addr, myfd, f->f_flag, f->f_vnode, f->f_offset, f->f_cred, in file_t_callback()
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dppt.c844 if (VOP_GETATTR(fp->f_vnode, &va, NO_FOLLOW, fp->f_cred, NULL) != 0 || in ppt_findf()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c753 if ((error = VOP_SETFL(nvp, oflag, arg, nfp->f_cred, NULL)) in accept()
2851 error = VOP_READ(fvp, &auio, ioflag, fp->f_cred, NULL); in snf_cache()

12