/illumos-gate/usr/src/uts/common/syscall/ |
H A D | pipe.c | 144 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 D | fdsync.c | 60 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 D | lseek.c | 113 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 D | rw.c | 116 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 D | getdents.c | 121 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 D | fcntl.c | 275 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 D | sendfile.c | 157 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 D | pathconf.c | 133 retval = cpathconf(fp->f_vnode, name, fp->f_cred); in fpathconf()
|
H A D | ioctl.c | 90 error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL); in ioctl()
|
H A D | mmapobjsys.c | 148 error = mmapobj(vp, flags, mrp, &num_mapped, padding, fp->f_cred); in mmapobjsys()
|
H A D | stat.c | 93 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 D | t_kopen.c | 110 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 D | t_kbind.c | 117 error = strdoioctl(vp->v_stream, &strioc, FNATIVE, K_TO_K, fp->f_cred, in t_kbind()
|
H A D | t_koptmgmt.c | 115 fp->f_cred, &retval); in t_koptmgmt()
|
H A D | t_ksndudat.c | 144 unitdata->opt.len, fp->f_cred, NOPID))) { in t_ksndudata()
|
H A D | t_kconnect.c | 99 fp->f_cred, NOPID))) { in t_kconnect()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/privs/ |
H A D | tst.getf.ksh | 42 CANREAD(f_cred)
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | file.h | 65 struct cred *f_cred; /* credentials of user who opened it */ member
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | file.h | 67 struct cred *f_cred; /* credentials of user who opened it */ member
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | fio.c | 990 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 D | grow.c | 804 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 D | fifosubr.c | 919 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 D | vfs.c | 1131 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 D | ppt.c | 887 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 D | socksyscalls.c | 768 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()
|