Searched refs:file_cred (Results 1 - 15 of 15) sorted by relevance

/freebsd-9.3-release/sys/security/mac/
H A Dmac_posix_sem.c123 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 Dmac_posix_shm.c155 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);
H A Dmac_framework.h224 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);
251 struct ucred *file_cred, struct shmfd *shmfd);
253 struct ucred *file_cred, struct shmfd *shmfd);
403 struct ucred *file_cred, struct vnode *vp);
405 struct ucred *file_cred, struct vnode *vp);
426 struct ucred *file_cred, struct vnode *vp);
430 struct ucred *file_cred, struc
[all...]
H A Dmac_vfs.c649 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 Dmac_policy.h332 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,
373 struct ucred *file_cred, struct shmfd *shmfd,
376 struct ucred *file_cred, struct shmfd *shmfd,
596 struct ucred *file_cred, struct vnode *vp,
599 struct ucred *file_cred, struct vnode *vp,
635 struct ucred *file_cred, struct vnode *vp,
642 struct ucred *file_cred, struc
[all...]
/freebsd-9.3-release/sys/security/mac_test/
H A Dmac_test.c1261 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);
1453 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel)
1457 LABEL_CHECK(file_cred
1326 test_posixsem_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct ksem *ks, struct label *kslabel) argument
1452 test_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) argument
1465 test_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) argument
2614 test_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
2629 test_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
2805 test_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
2835 test_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
[all...]
/freebsd-9.3-release/sys/kern/
H A Dvfs_vnops.c303 vn_close(vp, flags, file_cred, td)
306 struct ucred *file_cred;
327 error = VOP_CLOSE(vp, flags, file_cred, td);
381 struct ucred *file_cred, ssize_t *aresid, struct thread *td)
432 error = mac_vnode_check_read(active_cred, file_cred,
435 error = mac_vnode_check_write(active_cred, file_cred,
440 if (file_cred != NULL)
441 cred = file_cred;
475 file_cred, aresid, td)
484 struct ucred *file_cred;
379 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 Dimgact_elf.c1094 struct ucred *active_cred, struct ucred *file_cred,
1106 UIO_USERSPACE, IO_UNIT | IO_DIRECT, active_cred, file_cred,
1116 struct ucred *file_cred; member in struct:sbuf_drain_core_params
1154 IO_UNIT | IO_DIRECT, p->active_cred, p->file_cred, NULL,
1425 params.file_cred = NOCRED;
1093 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-9.3-release/sys/security/mac_stub/
H A Dmac_stub.c666 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
776 stub_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument
785 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel)
1467 stub_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument
1475 stub_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument
1581 stub_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument
1598 stub_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, argument
784 stub_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) argument
[all...]
/freebsd-9.3-release/sys/security/mac_bsdextended/
H A Dugidfw_internal.h111 struct ucred *file_cred, struct vnode *vp, struct label *vplabel);
H A Dugidfw_vnode.c278 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-9.3-release/sys/sys/
H A Dvnode.h658 int flags, struct ucred *file_cred, struct thread *td);
671 struct ucred *active_cred, struct ucred *file_cred, ssize_t *aresid,
675 struct ucred *active_cred, struct ucred *file_cred, size_t *aresid,
680 struct ucred *file_cred, struct thread *td);
/freebsd-9.3-release/sys/security/mac_biba/
H A Dmac_biba.c1666 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
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)
3130 biba_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument
3148 biba_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument
3431 biba_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument
3474 struct ucred *file_cred, struct vnode *vp, struct label *vplabel)
1816 biba_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) argument
3473 biba_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
/freebsd-9.3-release/sys/security/mac_mls/
H A Dmac_mls.c1522 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
1690 mls_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument
1709 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel)
2755 mls_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, argument
2773 mls_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, argument
3056 mls_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, argument
3098 mls_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, argument
1708 mls_posixshm_check_truncate(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) argument
/freebsd-9.3-release/sys/security/mac_lomac/
H A Dmac_lomac.c2485 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

Completed in 228 milliseconds