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()
210 (void) VOP_CLOSE(vp1, FWRITE|FREAD, 1, (offset_t)0, fp1->f_cred, NULL); in pipe()
211 (void) VOP_CLOSE(vp2, FWRITE|FREAD, 1, (offset_t)0, fp2->f_cred, NULL); in pipe()
H A Dfdsync.c60 ret = VFS_SYNCFS(fp->f_vnode->v_vfsp, 0, fp->f_cred); in fdsync()
63 ret = VOP_FSYNC(fp->f_vnode, FSYNC, fp->f_cred, NULL); in fdsync()
66 ret = VOP_FSYNC(fp->f_vnode, FDSYNC, fp->f_cred, NULL); in fdsync()
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()
143 if ((error = VOP_GETATTR(vp, &va, 0, fp->f_cred, NULL))) { 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()
310 error = VOP_WRITE(vp, &auio, ioflag, fp->f_cred, NULL); in write()
405 error = nbl_svmand(vp, fp->f_cred, &svmand); in pread()
421 if ((error = VOP_GETATTR(vp, &va, 0, fp->f_cred, NULL))) { in pread()
456 error = VOP_READ(vp, &auio, ioflag, fp->f_cred, NULL); in pread()
559 error = nbl_svmand(vp, fp->f_cred, &svmand); in pwrite()
590 error = VOP_WRITE(vp, &auio, ioflag, fp->f_cred, NULL); in pwrite()
[all …]
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.c275 if ((error = VOP_SETFL(vp, flag, iarg, fp->f_cred, NULL)) == in fcntl()
427 &bf, flag, offset, NULL, fp->f_cred, NULL)) != 0) in fcntl()
671 error = VOP_SPACE(vp, cmd, &bf, flag, offset, fp->f_cred, NULL); in fcntl()
776 NULL, fp->f_cred, NULL)) != 0) in fcntl()
846 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_kbind.c117 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, fp->f_cred, in t_kbind()
H A Dt_koptmgmt.c115 fp->f_cred, &retval); in t_koptmgmt()
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.c990 error = VOP_CLOSE(vp, flag, count, offset, fp->f_cred, NULL); in closef()
1019 crfree(fp->f_cred); in closef()
1154 crhold(fp->f_cred = CRED()); in falloc()
1202 crfree(fp->f_cred); in unfalloc()
1439 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.c919 if ((error = fifo_stropen(&vp1, FREAD|FWRITE, filep->f_cred, 0, 0)) != in fifo_connld()
921 (error = fifo_stropen(&vp2, flag, filep->f_cred, 0, 0)) != 0) { in fifo_connld()
1015 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.c887 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.c768 if ((error = VOP_SETFL(nvp, oflag, arg, nfp->f_cred, NULL)) in accept()
2870 error = VOP_READ(fvp, &auio, ioflag, fp->f_cred, NULL); in snf_cache()

12