/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 | vfs_vnops.c | 1095 error = VOP_READ_PGCACHE(vp, uio, ioflag, fp->f_cred); in vn_read() 1120 error = mac_vnode_check_read(active_cred, fp->f_cred, vp); in vn_read() 1123 error = VOP_READ(vp, uio, ioflag, fp->f_cred); in vn_read() 1190 error = mac_vnode_check_write(active_cred, fp->f_cred, vp); in vn_write() 1193 error = VOP_WRITE(vp, uio, ioflag, fp->f_cred); in vn_write() 1651 error = mac_vnode_check_write(active_cred, fp->f_cred, vp); in vn_truncate() 1656 fp->f_cred); in vn_truncate() 1699 error = VOP_STAT(vp, sb, active_cred, fp->f_cred); in vn_statfile() 1731 error = mac_vnode_check_read(active_cred, fp->f_cred, in vn_ioctl() 1770 error = mac_vnode_check_poll(active_cred, fp->f_cred, vp); in vn_poll() [all …]
|
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 | sys_timerfd.c | 315 sb->st_uid = fp->f_cred->cr_uid; in timerfd_stat() 316 sb->st_gid = fp->f_cred->cr_gid; in timerfd_stat()
|
H A D | uipc_shm.c | 464 error = mac_posixshm_check_read(active_cred, fp->f_cred, shmfd); in shm_read() 488 error = mac_posixshm_check_write(active_cred, fp->f_cred, shmfd); in shm_write() 542 error = mac_posixshm_check_truncate(active_cred, fp->f_cred, shmfd); in shm_truncate() 612 error = mac_posixshm_check_stat(active_cred, fp->f_cred, shmfd); in shm_stat() 1307 td->td_ucred, fp->f_cred, shmfd); in kern_shm_open2()
|
H A D | sys_socket.c | 634 error = mac_socket_check_receive(fp->f_cred, so); in soaio_process_job() 647 error = mac_socket_check_send(fp->f_cred, so); in soaio_process_job()
|
H A D | sys_pipe.c | 1606 ub->st_uid = fp->f_cred->cr_uid; in pipe_stat() 1607 ub->st_gid = fp->f_cred->cr_gid; in pipe_stat()
|
H A D | vfs_aio.c | 787 error = fo_read(fp, job->uiop, fp->f_cred, in aio_process_rw() 793 error = fo_write(fp, job->uiop, fp->f_cred, (job->ioflags & in aio_process_rw()
|
H A D | vfs_syscalls.c | 4262 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, NULL, in kern_getdirentries() 5043 flags, infp->f_cred, outfp->f_cred, td); in kern_copy_file_range()
|
H A D | kern_descrip.c | 2132 fp->f_cred = crhold(td->td_ucred); in _falloc_noinstall() 3672 crfree(fp->f_cred); in _fdrop()
|
/freebsd/sys/fs/nfs/ |
H A D | nfsdport.h | 96 #define NFSFPCRED(f) ((f)->f_cred)
|
/freebsd/sys/sys/ |
H A D | file.h | 194 struct ucred *f_cred; /* associated credentials. */ member
|
/freebsd/sys/compat/linux/ |
H A D | linux_socket.c | 2486 error = fo_read(fp, &auio, fp->f_cred, flags, td); in sendfile_fallback() 2501 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 | 2184 error = mac_socket_check_send(job->fd_file->f_cred, so); in t4_aiotx_process_job()
|