| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/ |
| H A D | tst.getf.ksh | 42 CANREAD(f_cred)
|
| /freebsd/sys/ofed/include/rdma/ |
| H A D | ib.h | 119 filp->_file->f_cred == td->td_ucred); in ib_safe_file_access()
|
| /freebsd/sys/kern/ |
| H A D | kern_jaildesc.c | 132 *ucredp = crhold(fp->f_cred); in jaildesc_find() 164 finit(fp, priv_check_cred(fp->f_cred, PRIV_JAIL_SET) == 0 ? in jaildesc_alloc()
|
| H A D | uipc_sem.c | 173 error = mac_posixsem_check_stat(active_cred, fp->f_cred, ks); in ksem_stat() 733 error = mac_posixsem_check_post(td->td_ucred, fp->f_cred, ks); in sys_ksem_post() 827 error = mac_posixsem_check_wait(td->td_ucred, fp->f_cred, ks); in kern_sem_wait() 895 error = mac_posixsem_check_getvalue(td->td_ucred, fp->f_cred, ks); in sys_ksem_getvalue()
|
| H A D | vfs_vnops.c | 1234 error = VOP_READ_PGCACHE(vp, uio, ioflag, fp->f_cred); in vn_read() 1259 error = mac_vnode_check_read(active_cred, fp->f_cred, vp); in vn_read() 1262 error = VOP_READ(vp, uio, ioflag, fp->f_cred); in vn_read() 1329 error = mac_vnode_check_write(active_cred, fp->f_cred, vp); in vn_write() 1332 error = VOP_WRITE(vp, uio, ioflag, fp->f_cred); in vn_write() 1790 error = mac_vnode_check_write(active_cred, fp->f_cred, vp); in vn_truncate() 1795 fp->f_cred); in vn_truncate() 1840 error = VOP_STAT(vp, sb, active_cred, fp->f_cred); in vn_statfile() 1874 error = mac_vnode_check_read(active_cred, fp->f_cred, in vn_ioctl() 1913 error = mac_vnode_check_poll(active_cred, fp->f_cred, v in vn_poll() [all...] |
| H A D | sys_timerfd.c | 324 sb->st_uid = fp->f_cred->cr_uid; in timerfd_stat() 325 sb->st_gid = fp->f_cred->cr_gid; in timerfd_stat()
|
| H A D | uipc_shm.c | 484 error = mac_posixshm_check_read(active_cred, fp->f_cred, shmfd); in shm_read() 511 error = mac_posixshm_check_write(active_cred, fp->f_cred, shmfd); in shm_write() 567 error = mac_posixshm_check_truncate(active_cred, fp->f_cred, shmfd); in shm_truncate() 642 error = mac_posixshm_check_stat(active_cred, fp->f_cred, shmfd); in shm_stat() 1351 td->td_ucred, fp->f_cred, shmfd); in kern_shm_open2()
|
| H A D | sys_socket.c | 654 error = mac_socket_check_receive(fp->f_cred, so); in soaio_process_job() 667 error = mac_socket_check_send(fp->f_cred, so); in soaio_process_job()
|
| H A D | sys_pipe.c | 1611 ub->st_uid = fp->f_cred->cr_uid; in pipe_stat() 1612 ub->st_gid = fp->f_cred->cr_gid; in pipe_stat()
|
| H A D | vfs_aio.c | 807 error = fo_read(fp, job->uiop, fp->f_cred, in aio_process_rw() 813 error = fo_write(fp, job->uiop, fp->f_cred, (job->ioflags & in aio_process_rw()
|
| H A D | vfs_syscalls.c | 4455 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, NULL, in kern_getdirentries() 5282 flags, infp->f_cred, outfp->f_cred, td); in kern_copy_file_range()
|
| H A D | kern_descrip.c | 2327 fp->f_cred = crhold(td->td_ucred); in finstall_refed() 4009 crfree(fp->f_cred); in sys_flock()
|
| H A D | uipc_usrreq.c | 3768 prison1 = fde->fde_file->f_cred->cr_prison; in externalize_fdflags()
|
| /freebsd/sys/fs/nfs/ |
| H A D | nfsdport.h | 98 #define NFSFPCRED(f) ((f)->f_cred)
|
| /freebsd/sys/sys/ |
| H A D | file.h | 207 struct ucred *f_cred; /* associated credentials. */ member
|
| /freebsd/sys/compat/linux/ |
| H A D | linux_socket.c | 2755 error = fo_read(fp, &auio, fp->f_cred, flags, td); in sendfile_fallback() 2770 error = fo_write(ofp, &auio, ofp->f_cred, flags, td); in sendfile_fallback()
|
| /freebsd/sys/dev/cxgbe/tom/ |
| H A D | t4_cpl_io.c | 2542 error = mac_socket_check_send(job->fd_file->f_cred, so); in t4_aiotx_process_job()
|