/freebsd-10.1-release/sys/security/mac/ |
H A D | mac_posix_sem.c | 123 mac_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred, argument 129 file_cred, ks, ks->ks_label); 131 file_cred, ks); 140 mac_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, argument 145 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_post, active_cred, file_cred, 147 MAC_CHECK_PROBE3(posixsem_check_post, error, active_cred, file_cred, 157 mac_posixsem_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 162 MAC_POLICY_CHECK_NOSLEEP(posixsem_check_stat, active_cred, file_cred, 164 MAC_CHECK_PROBE3(posixsem_check_stat, error, active_cred, file_cred, 189 mac_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, argument [all...] |
H A D | mac_posix_shm.c | 155 mac_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 160 MAC_POLICY_CHECK_NOSLEEP(posixshm_check_stat, active_cred, file_cred, 162 MAC_CHECK_PROBE3(posixshm_check_stat, error, active_cred, file_cred, 172 mac_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, argument 178 file_cred, shmfd, shmfd->shm_label); 180 file_cred, shmfd); 236 mac_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 242 file_cred, shmfd, shmfd->shm_label); 244 file_cred, shmfd); 253 mac_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, argument [all...] |
H A D | mac_framework.h | 224 struct ucred *file_cred, struct ksem *ks); 227 struct ucred *file_cred, struct ksem *ks); 233 struct ucred *file_cred, struct ksem *ks); 236 struct ucred *file_cred, struct ksem *ks); 247 struct ucred *file_cred, struct shmfd *shmfd); 253 struct ucred *file_cred, struct shmfd *shmfd); 255 struct ucred *file_cred, struct shmfd *shmfd); 258 struct ucred *file_cred, struct shmfd *shmfd); 407 struct ucred *file_cred, struct vnode *vp); 409 struct ucred *file_cred, struc [all...] |
H A D | mac_vfs.c | 649 mac_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument 656 MAC_POLICY_CHECK(vnode_check_poll, active_cred, file_cred, vp, 658 MAC_CHECK_PROBE3(vnode_check_poll, error, active_cred, file_cred, 668 mac_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 675 MAC_POLICY_CHECK(vnode_check_read, active_cred, file_cred, vp, 677 MAC_CHECK_PROBE3(vnode_check_read, error, active_cred, file_cred, 893 mac_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 900 MAC_POLICY_CHECK(vnode_check_stat, active_cred, file_cred, vp, 902 MAC_CHECK_PROBE3(vnode_check_stat, error, active_cred, file_cred, 931 mac_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, argument [all...] |
H A D | mac_policy.h | 332 struct ucred *file_cred, struct ksem *ks, 337 struct ucred *file_cred, struct ksem *ks, 346 struct ucred *file_cred, struct ksem *ks, 351 struct ucred *file_cred, struct ksem *ks, 367 struct ucred *file_cred, struct shmfd *shmfd, 376 struct ucred *file_cred, struct shmfd *shmfd, 379 struct ucred *file_cred, struct shmfd *shmfd, 384 struct ucred *file_cred, struct shmfd *shmfd, 602 struct ucred *file_cred, struct vnode *vp, 605 struct ucred *file_cred, struc [all...] |
/freebsd-10.1-release/sys/security/mac_test/ |
H A D | mac_test.c | 1261 test_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred, argument 1266 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); 1288 test_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, argument 1293 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); 1327 struct ucred *file_cred, struct ksem *ks, struct label *kslabel) 1331 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); 1352 test_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, argument 1357 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); 1429 struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) 1433 if (file_cred ! 1326 test_posixsem_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct ksem *ks, struct label *kslabel) argument 1428 test_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) argument 1467 test_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) argument 1480 test_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) argument 1505 test_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) argument 2644 test_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument 2659 test_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument 2835 test_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument 2865 test_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument [all...] |
/freebsd-10.1-release/sys/security/mac_stub/ |
H A D | mac_stub.c | 666 stub_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred, argument 682 stub_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, argument 706 stub_posixsem_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 722 stub_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, argument 760 stub_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 784 stub_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 793 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) 808 stub_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 1483 stub_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument 1491 stub_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 792 stub_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) argument 1597 stub_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument 1614 stub_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument [all...] |
/freebsd-10.1-release/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-10.1-release/sys/kern/ |
H A D | vfs_vnops.c | 404 vn_close(vp, flags, file_cred, td) 407 struct ucred *file_cred; 428 error = VOP_CLOSE(vp, flags, file_cred, td); 483 struct ucred *file_cred, ssize_t *aresid, struct thread *td) 533 error = mac_vnode_check_read(active_cred, file_cred, 536 error = mac_vnode_check_write(active_cred, file_cred, 541 if (file_cred != NULL) 542 cred = file_cred; 583 file_cred, aresid, td) 592 struct ucred *file_cred; 481 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 [all...] |
H A D | imgact_elf.c | 1092 struct ucred *active_cred, struct ucred *file_cred, 1104 UIO_USERSPACE, IO_UNIT | IO_DIRECT, active_cred, file_cred, 1114 struct ucred *file_cred; member in struct:sbuf_drain_core_params 1152 IO_UNIT | IO_DIRECT, p->active_cred, p->file_cred, NULL, 1423 params.file_cred = NOCRED; 1091 core_output(struct vnode *vp, void *base, size_t len, off_t offset, struct ucred *active_cred, struct ucred *file_cred, struct thread *td, char *core_buf, gzFile gzfile) argument
|
/freebsd-10.1-release/sys/sys/ |
H A D | vnode.h | 665 int flags, struct ucred *file_cred, struct thread *td); 680 struct ucred *active_cred, struct ucred *file_cred, ssize_t *aresid, 684 struct ucred *active_cred, struct ucred *file_cred, size_t *aresid, 689 struct ucred *file_cred, struct thread *td);
|
/freebsd-10.1-release/sys/security/mac_biba/ |
H A D | mac_biba.c | 1666 biba_posixsem_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 1684 biba_posixsem_check_rdonly(struct ucred *active_cred, struct ucred *file_cred, argument 1762 biba_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 1816 biba_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 1835 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) 1870 biba_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 3166 biba_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument 3184 biba_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 3467 biba_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 3510 struct ucred *file_cred, struc 1834 biba_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) argument 3509 biba_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument [all...] |
/freebsd-10.1-release/sys/security/mac_mls/ |
H A D | mac_mls.c | 1522 mls_posixsem_check_rdonly(struct ucred *active_cred, struct ucred *file_cred, argument 1576 mls_posixsem_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 1654 mls_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 1708 mls_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 1727 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) 1762 mls_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 2791 mls_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument 2809 mls_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 3092 mls_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument 3134 mls_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, argument 1726 mls_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) argument [all...] |
/freebsd-10.1-release/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 2485 lomac_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument 2782 struct ucred *file_cred, struct vnode *vp, struct label *vplabel) 2781 lomac_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
|