/freebsd/sys/security/mac/ |
H A D | mac_posix_sem.c | 120 mac_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred, in mac_posixsem_check_getvalue() 137 mac_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, in mac_posixsem_check_post() 154 mac_posixsem_check_stat(struct ucred *active_cred, struct ucred *file_cred, in mac_posixsem_check_stat() 186 mac_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, in mac_posixsem_check_wait()
|
H A D | mac_posix_shm.c | 152 mac_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, in mac_posixshm_check_stat() 169 mac_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, in mac_posixshm_check_truncate() 233 mac_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, in mac_posixshm_check_read() 250 mac_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, in mac_posixshm_check_write()
|
H A D | mac_framework.h | 600 mac_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, in mac_vnode_check_poll() 655 mac_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, in mac_vnode_check_stat() 674 mac_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, in mac_vnode_check_read() 693 mac_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, in mac_vnode_check_write()
|
H A D | mac_vfs.c | 648 mac_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, in mac_vnode_check_poll() 667 mac_vnode_check_read_impl(struct ucred *active_cred, struct ucred *file_cred, in mac_vnode_check_read_impl() 892 mac_vnode_check_stat_impl(struct ucred *active_cred, struct ucred *file_cred, in mac_vnode_check_stat_impl() 930 mac_vnode_check_write_impl(struct ucred *active_cred, struct ucred *file_cred, in mac_vnode_check_write_impl()
|
/freebsd/sys/kern/ |
H A D | sys_eventfd.c | 142 eventfd_read(struct file *fp, struct uio *uio, struct ucred *active_cred, in eventfd_read() 184 eventfd_write(struct file *fp, struct uio *uio, struct ucred *active_cred, in eventfd_write() 228 eventfd_poll(struct file *fp, int events, struct ucred *active_cred, in eventfd_poll() 312 struct ucred *active_cred, struct thread *td) in eventfd_ioctl() 324 eventfd_stat(struct file *fp, struct stat *st, struct ucred *active_cred) in eventfd_stat()
|
H A D | sys_pipe.c | 748 pipe_read(struct file *fp, struct uio *uio, struct ucred *active_cred, in pipe_read() 1139 pipe_write(struct file *fp, struct uio *uio, struct ucred *active_cred, in pipe_write() 1404 pipe_truncate(struct file *fp, off_t length, struct ucred *active_cred, in pipe_truncate() 1422 pipe_ioctl(struct file *fp, u_long cmd, void *data, struct ucred *active_cred, in pipe_ioctl() 1493 pipe_poll(struct file *fp, int events, struct ucred *active_cred, in pipe_poll() 1571 pipe_stat(struct file *fp, struct stat *ub, struct ucred *active_cred) in pipe_stat() 1630 pipe_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, struct thread *td) in pipe_chmod() 1644 pipe_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, in pipe_chown()
|
H A D | sys_socket.c | 118 soo_read(struct file *fp, struct uio *uio, struct ucred *active_cred, in soo_read() 134 soo_write(struct file *fp, struct uio *uio, struct ucred *active_cred, in soo_write() 150 soo_ioctl(struct file *fp, u_long cmd, void *data, struct ucred *active_cred, in soo_ioctl() 280 soo_poll(struct file *fp, int events, struct ucred *active_cred, in soo_poll() 303 soo_stat(struct file *fp, struct stat *ub, struct ucred *active_cred) in soo_stat()
|
H A D | tty_pts.c | 110 ptsdev_read(struct file *fp, struct uio *uio, struct ucred *active_cred, in ptsdev_read() 184 ptsdev_write(struct file *fp, struct uio *uio, struct ucred *active_cred, in ptsdev_write() 258 struct ucred *active_cred, struct thread *td) in ptsdev_ioctl() 384 ptsdev_poll(struct file *fp, int events, struct ucred *active_cred, in ptsdev_poll() 529 ptsdev_stat(struct file *fp, struct stat *sb, struct ucred *active_cred) in ptsdev_stat()
|
H A D | sys_timerfd.c | 181 timerfd_read(struct file *fp, struct uio *uio, struct ucred *active_cred, in timerfd_read() 230 struct ucred *active_cred, struct thread *td) in timerfd_ioctl() 250 timerfd_poll(struct file *fp, int events, struct ucred *active_cred, in timerfd_poll() 309 timerfd_stat(struct file *fp, struct stat *sb, struct ucred *active_cred) in timerfd_stat()
|
H A D | vfs_vnops.c | 652 enum uio_seg segflg, int ioflg, struct ucred *active_cred, in vn_rdwr() 756 off_t offset, enum uio_seg segflg, int ioflg, struct ucred *active_cred, in vn_rdwr_inchunks() 1130 vn_read(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, in vn_read() 1201 vn_write(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, in vn_write() 1512 vn_io_fault(struct file *fp, struct uio *uio, struct ucred *active_cred, in vn_io_fault() 1684 vn_truncate(struct file *fp, off_t length, struct ucred *active_cred, in vn_truncate() 1752 vn_statfile(struct file *fp, struct stat *sb, struct ucred *active_cred) in vn_statfile() 1768 vn_ioctl(struct file *fp, u_long com, void *data, struct ucred *active_cred, in vn_ioctl() 1818 vn_poll(struct file *fp, int events, struct ucred *active_cred, in vn_poll() 2575 vn_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, in vn_chmod() [all …]
|
H A D | uipc_shm.c | 458 shm_read(struct file *fp, struct uio *uio, struct ucred *active_cred, in shm_read() 481 shm_write(struct file *fp, struct uio *uio, struct ucred *active_cred, in shm_write() 540 shm_truncate(struct file *fp, off_t length, struct ucred *active_cred, in shm_truncate() 558 shm_ioctl(struct file *fp, u_long com, void *data, struct ucred *active_cred, in shm_ioctl() 610 shm_stat(struct file *fp, struct stat *sb, struct ucred *active_cred) in shm_stat() 1743 shm_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, in shm_chmod() 1772 shm_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, in shm_chown() 2062 struct ucred *active_cred, struct thread *td) in shm_fspacectl()
|
H A D | sys_procdesc.c | 422 procdesc_poll(struct file *fp, int events, struct ucred *active_cred, in procdesc_poll() 509 procdesc_stat(struct file *fp, struct stat *sb, struct ucred *active_cred) in procdesc_stat()
|
H A D | kern_descrip.c | 5270 badfo_readwrite(struct file *fp, struct uio *uio, struct ucred *active_cred, in badfo_readwrite() 5278 badfo_truncate(struct file *fp, off_t length, struct ucred *active_cred, in badfo_truncate() 5286 badfo_ioctl(struct file *fp, u_long com, void *data, struct ucred *active_cred, in badfo_ioctl() 5294 badfo_poll(struct file *fp, int events, struct ucred *active_cred, in badfo_poll() 5309 badfo_stat(struct file *fp, struct stat *sb, struct ucred *active_cred) in badfo_stat() 5323 badfo_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, in badfo_chmod() 5331 badfo_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, in badfo_chown() 5370 path_poll(struct file *fp, int events, struct ucred *active_cred, in path_poll() 5403 invfo_rdwr(struct file *fp, struct uio *uio, struct ucred *active_cred, in invfo_rdwr() 5411 invfo_truncate(struct file *fp, off_t length, struct ucred *active_cred, in invfo_truncate() [all …]
|
H A D | uipc_sem.c | 163 ksem_stat(struct file *fp, struct stat *sb, struct ucred *active_cred) in ksem_stat() 198 ksem_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, in ksem_chmod() 223 ksem_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, in ksem_chown()
|
H A D | uipc_mqueue.c | 2526 mqf_poll(struct file *fp, int events, struct ucred *active_cred, in mqf_poll() 2568 mqf_stat(struct file *fp, struct stat *st, struct ucred *active_cred) in mqf_stat() 2586 mqf_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, in mqf_chmod() 2606 mqf_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, in mqf_chown()
|
H A D | kern_event.c | 2126 struct ucred *active_cred, struct thread *td) in kqueue_ioctl() 2173 kqueue_poll(struct file *fp, int events, struct ucred *active_cred, in kqueue_poll() 2200 kqueue_stat(struct file *fp, struct stat *st, struct ucred *active_cred) in kqueue_stat()
|
/freebsd/sys/sys/ |
H A D | file.h | 348 fo_read(struct file *fp, struct uio *uio, struct ucred *active_cred, in fo_read() 356 fo_write(struct file *fp, struct uio *uio, struct ucred *active_cred, in fo_write() 364 fo_truncate(struct file *fp, off_t length, struct ucred *active_cred, in fo_truncate() 372 fo_ioctl(struct file *fp, u_long com, void *data, struct ucred *active_cred, in fo_ioctl() 380 fo_poll(struct file *fp, int events, struct ucred *active_cred, in fo_poll() 388 fo_stat(struct file *fp, struct stat *sb, struct ucred *active_cred) in fo_stat() 409 fo_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, in fo_chmod() 417 fo_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, in fo_chown() 496 int flags, struct ucred *active_cred, struct thread *td) in fo_fspacectl()
|
H A D | exec.h | 63 struct ucred *active_cred; member
|
/freebsd/sys/security/mac_stub/ |
H A D | mac_stub.c | 699 stub_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred, in stub_posixsem_check_getvalue() 715 stub_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, in stub_posixsem_check_post() 739 stub_posixsem_check_stat(struct ucred *active_cred, struct ucred *file_cred, in stub_posixsem_check_stat() 755 stub_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, in stub_posixsem_check_wait() 793 stub_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, in stub_posixshm_check_read() 817 stub_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, in stub_posixshm_check_stat() 825 stub_posixshm_check_truncate(struct ucred *active_cred, in stub_posixshm_check_truncate() 841 stub_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, in stub_posixshm_check_write() 1509 stub_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, in stub_vnode_check_poll() 1517 stub_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, in stub_vnode_check_read() [all …]
|
/freebsd/sys/security/mac_test/ |
H A D | mac_test.c | 1308 test_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred, in test_posixsem_check_getvalue() 1335 test_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, in test_posixsem_check_post() 1373 test_posixsem_check_stat(struct ucred *active_cred, in test_posixsem_check_stat() 1399 test_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, in test_posixsem_check_wait() 1475 test_posixshm_check_read(struct ucred *active_cred, in test_posixshm_check_read() 1514 test_posixshm_check_stat(struct ucred *active_cred, in test_posixshm_check_stat() 1527 test_posixshm_check_truncate(struct ucred *active_cred, in test_posixshm_check_truncate() 1552 test_posixshm_check_write(struct ucred *active_cred, in test_posixshm_check_write() 2691 test_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, in test_vnode_check_poll() 2706 test_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, in test_vnode_check_read() [all …]
|
/freebsd/sys/security/mac_mls/ |
H A D | mac_mls.c | 1505 mls_posixsem_check_rdonly(struct ucred *active_cred, struct ucred *file_cred, in mls_posixsem_check_rdonly() 1559 mls_posixsem_check_write(struct ucred *active_cred, struct ucred *file_cred, in mls_posixsem_check_write() 1637 mls_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, in mls_posixshm_check_read() 1691 mls_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, in mls_posixshm_check_stat() 1709 mls_posixshm_check_truncate(struct ucred *active_cred, in mls_posixshm_check_truncate() 1745 mls_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, in mls_posixshm_check_write() 2774 mls_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, in mls_vnode_check_poll() 2792 mls_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, in mls_vnode_check_read() 3075 mls_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, in mls_vnode_check_stat() 3117 mls_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, in mls_vnode_check_write()
|
/freebsd/sys/security/mac_biba/ |
H A D | mac_biba.c | 1646 biba_posixsem_check_write(struct ucred *active_cred, struct ucred *file_cred, in biba_posixsem_check_write() 1664 biba_posixsem_check_rdonly(struct ucred *active_cred, struct ucred *file_cred, in biba_posixsem_check_rdonly() 1742 biba_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, in biba_posixshm_check_read() 1796 biba_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, in biba_posixshm_check_stat() 1814 biba_posixshm_check_truncate(struct ucred *active_cred, in biba_posixshm_check_truncate() 1850 biba_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, in biba_posixshm_check_write() 3145 biba_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, in biba_vnode_check_poll() 3163 biba_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, in biba_vnode_check_read() 3446 biba_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, in biba_vnode_check_stat() 3488 biba_vnode_check_write(struct ucred *active_cred, in biba_vnode_check_write()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_compat.c | 1424 linux_file_read(struct file *file, struct uio *uio, struct ucred *active_cred, in linux_file_read() 1466 linux_file_write(struct file *file, struct uio *uio, struct ucred *active_cred, in linux_file_write() 1509 linux_file_poll(struct file *file, int events, struct ucred *active_cred, in linux_file_poll() 1724 linux_file_stat(struct file *fp, struct stat *sb, struct ucred *active_cred) in linux_file_stat()
|
/freebsd/sys/security/mac_bsdextended/ |
H A D | ugidfw_vnode.c | 275 ugidfw_vnode_check_stat(struct ucred *active_cred, in ugidfw_vnode_check_stat()
|
/freebsd/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 2468 lomac_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, in lomac_vnode_check_read() 2764 lomac_vnode_check_write(struct ucred *active_cred, in lomac_vnode_check_write()
|