/freebsd-12-stable/sys/security/mac/ |
H A D | mac_posix_sem.c | 122 mac_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred, argument 128 file_cred, ks, ks->ks_label); 130 file_cred, ks); 139 mac_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, argument 144 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_post, active_cred, file_cred, 146 MAC_CHECK_PROBE3(posixsem_check_post, error, active_cred, file_cred, 156 mac_posixsem_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 161 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_stat, active_cred, file_cred, 163 MAC_CHECK_PROBE3(posixsem_check_stat, error, active_cred, file_cred, 188 mac_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, argument [all...] |
H A D | mac_posix_shm.c | 154 mac_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 159 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_stat, active_cred, file_cred, 161 MAC_CHECK_PROBE3(posixshm_check_stat, error, active_cred, file_cred, 171 mac_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, argument 177 file_cred, shmfd, shmfd->shm_label); 179 file_cred, shmfd); 235 mac_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 241 file_cred, shmfd, shmfd->shm_label); 243 file_cred, shmfd); 252 mac_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, argument [all...] |
H A D | mac_framework.h | 222 struct ucred *file_cred, struct ksem *ks); 225 struct ucred *file_cred, struct ksem *ks); 231 struct ucred *file_cred, struct ksem *ks); 234 struct ucred *file_cred, struct ksem *ks); 245 struct ucred *file_cred, struct shmfd *shmfd); 251 struct ucred *file_cred, struct shmfd *shmfd); 253 struct ucred *file_cred, struct shmfd *shmfd); 256 struct ucred *file_cred, struct shmfd *shmfd); 405 struct ucred *file_cred, struct vnode *vp); 407 struct ucred *file_cred, struc [all...] |
H A D | mac_vfs.c | 648 mac_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument 655 MAC_POLICY_CHECK(vnode_check_poll, active_cred, file_cred, vp, 657 MAC_CHECK_PROBE3(vnode_check_poll, error, active_cred, file_cred, 667 mac_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 674 MAC_POLICY_CHECK(vnode_check_read, active_cred, file_cred, vp, 676 MAC_CHECK_PROBE3(vnode_check_read, error, active_cred, file_cred, 892 mac_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 899 MAC_POLICY_CHECK(vnode_check_stat, active_cred, file_cred, vp, 901 MAC_CHECK_PROBE3(vnode_check_stat, error, active_cred, file_cred, 930 mac_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, argument [all...] |
H A D | mac_policy.h | 328 struct ucred *file_cred, struct ksem *ks, 333 struct ucred *file_cred, struct ksem *ks, 342 struct ucred *file_cred, struct ksem *ks, 347 struct ucred *file_cred, struct ksem *ks, 363 struct ucred *file_cred, struct shmfd *shmfd, 372 struct ucred *file_cred, struct shmfd *shmfd, 375 struct ucred *file_cred, struct shmfd *shmfd, 380 struct ucred *file_cred, struct shmfd *shmfd, 598 struct ucred *file_cred, struct vnode *vp, 601 struct ucred *file_cred, struc [all...] |
/freebsd-12-stable/sys/security/mac_test/ |
H A D | mac_test.c | 1250 test_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred, argument 1255 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); 1277 test_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, argument 1282 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); 1316 struct ucred *file_cred, struct ksem *ks, struct label *kslabel) 1320 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); 1341 test_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, argument 1346 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); 1418 struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) 1422 if (file_cred ! 1315 test_posixsem_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct ksem *ks, struct label *kslabel) argument 1417 test_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) argument 1456 test_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) argument 1469 test_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) argument 1494 test_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) argument 2633 test_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument 2648 test_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument 2824 test_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument 2854 test_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument [all...] |
/freebsd-12-stable/sys/security/mac_stub/ |
H A D | mac_stub.c | 659 stub_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred, argument 675 stub_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, argument 699 stub_posixsem_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 715 stub_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, argument 753 stub_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 777 stub_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 786 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) 801 stub_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 1476 stub_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument 1484 stub_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 785 stub_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) argument 1590 stub_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument 1607 stub_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument [all...] |
/freebsd-12-stable/sys/security/mac_bsdextended/ |
H A D | ugidfw_internal.h | 111 struct ucred *file_cred, struct vnode *vp, struct label *vplabel);
|
H A D | ugidfw_vnode.c | 278 struct ucred *file_cred, struct vnode *vp, struct label *vplabel) 277 ugidfw_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
|
/freebsd-12-stable/sys/kern/ |
H A D | vfs_vnops.c | 468 vn_close1(struct vnode *vp, int flags, struct ucred *file_cred, argument 488 error = VOP_CLOSE(vp, flags, file_cred, td); 498 vn_close(struct vnode *vp, int flags, struct ucred *file_cred, argument 502 return (vn_close1(vp, flags, file_cred, td, false)); 558 struct ucred *file_cred, ssize_t *aresid, struct thread *td) 613 error = mac_vnode_check_read(active_cred, file_cred, 616 error = mac_vnode_check_write(active_cred, file_cred, 621 if (file_cred != NULL) 622 cred = file_cred; 664 struct ucred *file_cred, size_ 556 vn_rdwr(enum uio_rw rw, struct vnode *vp, void *base, int len, off_t offset, enum uio_seg segflg, int ioflg, struct ucred *active_cred, struct ucred *file_cred, ssize_t *aresid, struct thread *td) argument 662 vn_rdwr_inchunks(enum uio_rw rw, struct vnode *vp, void *base, size_t len, off_t offset, enum uio_seg segflg, int ioflg, struct ucred *active_cred, struct ucred *file_cred, size_t *aresid, struct thread *td) argument 1408 vn_stat(struct vnode *vp, struct stat *sb, struct ucred *active_cred, struct ucred *file_cred, struct thread *td) argument [all...] |
H A D | imgact_elf.c | 1433 struct ucred *file_cred; member in struct:coredump_params 1515 p->active_cred, p->file_cred, NULL, p->td)); 1617 params.file_cred = NOCRED;
|
/freebsd-12-stable/sys/sys/ |
H A D | vnode.h | 673 int flags, struct ucred *file_cred, struct thread *td); 689 struct ucred *active_cred, struct ucred *file_cred, ssize_t *aresid, 693 struct ucred *active_cred, struct ucred *file_cred, size_t *aresid, 698 struct ucred *file_cred, struct thread *td);
|
/freebsd-12-stable/sys/security/mac_biba/ |
H A D | mac_biba.c | 1648 biba_posixsem_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 1666 biba_posixsem_check_rdonly(struct ucred *active_cred, struct ucred *file_cred, argument 1744 biba_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 1798 biba_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 1817 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) 1852 biba_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 3145 biba_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument 3163 biba_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 3446 biba_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 3489 struct ucred *file_cred, struc 1816 biba_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) argument 3488 biba_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument [all...] |
/freebsd-12-stable/sys/security/mac_mls/ |
H A D | mac_mls.c | 1508 mls_posixsem_check_rdonly(struct ucred *active_cred, struct ucred *file_cred, argument 1562 mls_posixsem_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 1640 mls_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 1694 mls_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 1713 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) 1748 mls_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 2777 mls_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument 2795 mls_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 3078 mls_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 3120 mls_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 1712 mls_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) argument [all...] |
/freebsd-12-stable/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 2465 lomac_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 2762 struct ucred *file_cred, struct vnode *vp, struct label *vplabel) 2761 lomac_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
|