Lines Matching full:struct

103 stub_destroy(struct mac_policy_conf *conf)  in stub_destroy()
109 stub_init(struct mac_policy_conf *conf) in stub_init()
115 stub_syscall(struct thread *td, int call, void *arg) in stub_syscall()
125 stub_init_label(struct label *label) in stub_init_label()
131 stub_init_label_waitcheck(struct label *label, int flag) in stub_init_label_waitcheck()
138 stub_destroy_label(struct label *label) in stub_destroy_label()
144 stub_copy_label(struct label *src, struct label *dest) in stub_copy_label()
150 stub_externalize_label(struct label *label, char *element_name, in stub_externalize_label()
151 struct sbuf *sb, int *claimed) in stub_externalize_label()
158 stub_internalize_label(struct label *label, char *element_name, in stub_internalize_label()
170 stub_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in stub_bpfdesc_check_receive()
171 struct ifnet *ifp, struct label *ifplabel) in stub_bpfdesc_check_receive()
178 stub_bpfdesc_create(struct ucred *cred, struct bpf_d *d, in stub_bpfdesc_create()
179 struct label *dlabel) in stub_bpfdesc_create()
185 stub_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in stub_bpfdesc_create_mbuf()
186 struct mbuf *m, struct label *mlabel) in stub_bpfdesc_create_mbuf()
192 stub_cred_associate_nfsd(struct ucred *cred) in stub_cred_associate_nfsd()
198 stub_cred_check_relabel(struct ucred *cred, struct label *newlabel) in stub_cred_check_relabel()
205 stub_cred_check_setaudit(struct ucred *cred, struct auditinfo *ai) in stub_cred_check_setaudit()
212 stub_cred_check_setaudit_addr(struct ucred *cred, struct auditinfo_addr *aia) in stub_cred_check_setaudit_addr()
219 stub_cred_check_setauid(struct ucred *cred, uid_t auid) in stub_cred_check_setauid()
231 stub_cred_check_setcred(u_int flags, const struct ucred *old_cred, in stub_cred_check_setcred()
232 struct ucred *new_cred) in stub_cred_check_setcred()
243 stub_cred_check_setegid(struct ucred *cred, gid_t egid) in stub_cred_check_setegid()
250 stub_cred_check_seteuid(struct ucred *cred, uid_t euid) in stub_cred_check_seteuid()
257 stub_cred_check_setgid(struct ucred *cred, gid_t gid) in stub_cred_check_setgid()
264 stub_cred_check_setgroups(struct ucred *cred, int ngroups, in stub_cred_check_setgroups()
272 stub_cred_check_setregid(struct ucred *cred, gid_t rgid, gid_t egid) in stub_cred_check_setregid()
279 stub_cred_check_setresgid(struct ucred *cred, gid_t rgid, gid_t egid, in stub_cred_check_setresgid()
287 stub_cred_check_setresuid(struct ucred *cred, uid_t ruid, uid_t euid, in stub_cred_check_setresuid()
295 stub_cred_check_setreuid(struct ucred *cred, uid_t ruid, uid_t euid) in stub_cred_check_setreuid()
302 stub_cred_check_setuid(struct ucred *cred, uid_t uid) in stub_cred_check_setuid()
309 stub_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in stub_cred_check_visible()
316 stub_cred_create_init(struct ucred *cred) in stub_cred_create_init()
322 stub_cred_create_swapper(struct ucred *cred) in stub_cred_create_swapper()
328 stub_cred_relabel(struct ucred *cred, struct label *newlabel) in stub_cred_relabel()
334 stub_ddb_command_exec(struct db_command *cmd, db_expr_t addr, bool have_addr, in stub_ddb_command_exec()
342 stub_ddb_command_register(struct db_command_table *table, in stub_ddb_command_register()
343 struct db_command *cmd) in stub_ddb_command_register()
350 stub_devfs_create_device(struct ucred *cred, struct mount *mp, in stub_devfs_create_device()
351 struct cdev *dev, struct devfs_dirent *de, struct label *delabel) in stub_devfs_create_device()
357 stub_devfs_create_directory(struct mount *mp, char *dirname, in stub_devfs_create_directory()
358 int dirnamelen, struct devfs_dirent *de, struct label *delabel) in stub_devfs_create_directory()
364 stub_devfs_create_symlink(struct ucred *cred, struct mount *mp, in stub_devfs_create_symlink()
365 struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de, in stub_devfs_create_symlink()
366 struct label *delabel) in stub_devfs_create_symlink()
372 stub_devfs_update(struct mount *mp, struct devfs_dirent *de, in stub_devfs_update()
373 struct label *delabel, struct vnode *vp, struct label *vplabel) in stub_devfs_update()
379 stub_devfs_vnode_associate(struct mount *mp, struct label *mplabel, in stub_devfs_vnode_associate()
380 struct devfs_dirent *de, struct label *delabel, struct vnode *vp, in stub_devfs_vnode_associate()
381 struct label *vplabel) in stub_devfs_vnode_associate()
387 stub_ifnet_check_relabel(struct ucred *cred, struct ifnet *ifp, in stub_ifnet_check_relabel()
388 struct label *ifplabel, struct label *newlabel) in stub_ifnet_check_relabel()
395 stub_ifnet_check_transmit(struct ifnet *ifp, struct label *ifplabel, in stub_ifnet_check_transmit()
396 struct mbuf *m, struct label *mlabel) in stub_ifnet_check_transmit()
403 stub_ifnet_create(struct ifnet *ifp, struct label *ifplabel) in stub_ifnet_create()
409 stub_ifnet_create_mbuf(struct ifnet *ifp, struct label *ifplabel, in stub_ifnet_create_mbuf()
410 struct mbuf *m, struct label *mlabel) in stub_ifnet_create_mbuf()
416 stub_ifnet_relabel(struct ucred *cred, struct ifnet *ifp, in stub_ifnet_relabel()
417 struct label *ifplabel, struct label *newlabel) in stub_ifnet_relabel()
423 stub_inpcb_check_deliver(struct inpcb *inp, struct label *inplabel, in stub_inpcb_check_deliver()
424 struct mbuf *m, struct label *mlabel) in stub_inpcb_check_deliver()
431 stub_inpcb_create(struct socket *so, struct label *solabel, in stub_inpcb_create()
432 struct inpcb *inp, struct label *inplabel) in stub_inpcb_create()
438 stub_inpcb_create_mbuf(struct inpcb *inp, struct label *inplabel, in stub_inpcb_create_mbuf()
439 struct mbuf *m, struct label *mlabel) in stub_inpcb_create_mbuf()
445 stub_inpcb_sosetlabel(struct socket *so, struct label *solabel, in stub_inpcb_sosetlabel()
446 struct inpcb *inp, struct label *inplabel) in stub_inpcb_sosetlabel()
454 stub_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_create()
455 struct label *q6label) in stub_ip6q_create()
461 stub_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_match()
462 struct label *q6label) in stub_ip6q_match()
469 stub_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m, in stub_ip6q_reassemble()
470 struct label *mlabel) in stub_ip6q_reassemble()
476 stub_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6, in stub_ip6q_update()
477 struct label *q6label) in stub_ip6q_update()
483 stub_ipq_create(struct mbuf *m, struct label *mlabel, struct ipq *q, in stub_ipq_create()
484 struct label *qlabel) in stub_ipq_create()
490 stub_ipq_match(struct mbuf *m, struct label *mlabel, struct ipq *q, in stub_ipq_match()
491 struct label *qlabel) in stub_ipq_match()
498 stub_ipq_reassemble(struct ipq *q, struct label *qlabel, struct mbuf *m, in stub_ipq_reassemble()
499 struct label *mlabel) in stub_ipq_reassemble()
505 stub_ipq_update(struct mbuf *m, struct label *mlabel, struct ipq *q, in stub_ipq_update()
506 struct label *qlabel) in stub_ipq_update()
512 stub_kdb_check_backend(struct kdb_dbbe *be) in stub_kdb_check_backend()
519 stub_kenv_check_dump(struct ucred *cred) in stub_kenv_check_dump()
526 stub_kenv_check_get(struct ucred *cred, char *name) in stub_kenv_check_get()
533 stub_kenv_check_set(struct ucred *cred, char *name, char *value) in stub_kenv_check_set()
540 stub_kenv_check_unset(struct ucred *cred, char *name) in stub_kenv_check_unset()
547 stub_kld_check_load(struct ucred *cred, struct vnode *vp, in stub_kld_check_load()
548 struct label *vplabel) in stub_kld_check_load()
555 stub_kld_check_stat(struct ucred *cred) in stub_kld_check_stat()
562 stub_mount_check_stat(struct ucred *cred, struct mount *mp, in stub_mount_check_stat()
563 struct label *mplabel) in stub_mount_check_stat()
570 stub_mount_create(struct ucred *cred, struct mount *mp, in stub_mount_create()
571 struct label *mplabel) in stub_mount_create()
577 stub_netinet_arp_send(struct ifnet *ifp, struct label *iflpabel, in stub_netinet_arp_send()
578 struct mbuf *m, struct label *mlabel) in stub_netinet_arp_send()
584 stub_netinet_firewall_reply(struct mbuf *mrecv, struct label *mrecvlabel, in stub_netinet_firewall_reply()
585 struct mbuf *msend, struct label *msendlabel) in stub_netinet_firewall_reply()
591 stub_netinet_firewall_send(struct mbuf *m, struct label *mlabel) in stub_netinet_firewall_send()
597 stub_netinet_fragment(struct mbuf *m, struct label *mlabel, struct mbuf *frag, in stub_netinet_fragment()
598 struct label *fraglabel) in stub_netinet_fragment()
604 stub_netinet_icmp_reply(struct mbuf *mrecv, struct label *mrecvlabel, in stub_netinet_icmp_reply()
605 struct mbuf *msend, struct label *msendlabel) in stub_netinet_icmp_reply()
611 stub_netinet_icmp_replyinplace(struct mbuf *m, struct label *mlabel) in stub_netinet_icmp_replyinplace()
617 stub_netinet_igmp_send(struct ifnet *ifp, struct label *iflpabel, in stub_netinet_igmp_send()
618 struct mbuf *m, struct label *mlabel) in stub_netinet_igmp_send()
624 stub_netinet_tcp_reply(struct mbuf *m, struct label *mlabel) in stub_netinet_tcp_reply()
630 stub_netinet6_nd6_send(struct ifnet *ifp, struct label *iflpabel, in stub_netinet6_nd6_send()
631 struct mbuf *m, struct label *mlabel) in stub_netinet6_nd6_send()
637 stub_pipe_check_ioctl(struct ucred *cred, struct pipepair *pp, in stub_pipe_check_ioctl()
638 struct label *pplabel, unsigned long cmd, void /* caddr_t */ *data) in stub_pipe_check_ioctl()
645 stub_pipe_check_poll(struct ucred *cred, struct pipepair *pp, in stub_pipe_check_poll()
646 struct label *pplabel) in stub_pipe_check_poll()
653 stub_pipe_check_read(struct ucred *cred, struct pipepair *pp, in stub_pipe_check_read()
654 struct label *pplabel) in stub_pipe_check_read()
661 stub_pipe_check_relabel(struct ucred *cred, struct pipepair *pp, in stub_pipe_check_relabel()
662 struct label *pplabel, struct label *newlabel) in stub_pipe_check_relabel()
669 stub_pipe_check_stat(struct ucred *cred, struct pipepair *pp, in stub_pipe_check_stat()
670 struct label *pplabel) in stub_pipe_check_stat()
677 stub_pipe_check_write(struct ucred *cred, struct pipepair *pp, in stub_pipe_check_write()
678 struct label *pplabel) in stub_pipe_check_write()
685 stub_pipe_create(struct ucred *cred, struct pipepair *pp, in stub_pipe_create()
686 struct label *pplabel) in stub_pipe_create()
692 stub_pipe_relabel(struct ucred *cred, struct pipepair *pp, in stub_pipe_relabel()
693 struct label *pplabel, struct label *newlabel) in stub_pipe_relabel()
699 stub_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred, in stub_posixsem_check_getvalue()
700 struct ksem *ks, struct label *kslabel) in stub_posixsem_check_getvalue()
707 stub_posixsem_check_open(struct ucred *cred, struct ksem *ks, in stub_posixsem_check_open()
708 struct label *kslabel) in stub_posixsem_check_open()
715 stub_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, in stub_posixsem_check_post()
716 struct ksem *ks, struct label *kslabel) in stub_posixsem_check_post()
723 stub_posixsem_check_setmode(struct ucred *cred, struct ksem *ks, in stub_posixsem_check_setmode()
724 struct label *kslabel, mode_t mode) in stub_posixsem_check_setmode()
731 stub_posixsem_check_setowner(struct ucred *cred, struct ksem *ks, in stub_posixsem_check_setowner()
732 struct label *kslabel, uid_t uid, gid_t gid) in stub_posixsem_check_setowner()
739 stub_posixsem_check_stat(struct ucred *active_cred, struct ucred *file_cred, in stub_posixsem_check_stat()
740 struct ksem *ks, struct label *kslabel) in stub_posixsem_check_stat()
747 stub_posixsem_check_unlink(struct ucred *cred, struct ksem *ks, in stub_posixsem_check_unlink()
748 struct label *kslabel) in stub_posixsem_check_unlink()
755 stub_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, in stub_posixsem_check_wait()
756 struct ksem *ks, struct label *kslabel) in stub_posixsem_check_wait()
763 stub_posixsem_create(struct ucred *cred, struct ksem *ks, in stub_posixsem_create()
764 struct label *kslabel) in stub_posixsem_create()
770 stub_posixshm_check_create(struct ucred *cred, const char *path) in stub_posixshm_check_create()
777 stub_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_mmap()
778 struct label *shmlabel, int prot, int flags) in stub_posixshm_check_mmap()
785 stub_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_open()
786 struct label *shmlabel, accmode_t accmode) in stub_posixshm_check_open()
793 stub_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, in stub_posixshm_check_read()
794 struct shmfd *shm, struct label *shmlabel) in stub_posixshm_check_read()
801 stub_posixshm_check_setmode(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_setmode()
802 struct label *shmlabel, mode_t mode) in stub_posixshm_check_setmode()
809 stub_posixshm_check_setowner(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_setowner()
810 struct label *shmlabel, uid_t uid, gid_t gid) in stub_posixshm_check_setowner()
817 stub_posixshm_check_stat(struct ucred *active_cred, struct ucred *file_cred, in stub_posixshm_check_stat()
818 struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_stat()
825 stub_posixshm_check_truncate(struct ucred *active_cred, in stub_posixshm_check_truncate()
826 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmlabel) in stub_posixshm_check_truncate()
833 stub_posixshm_check_unlink(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_check_unlink()
834 struct label *shmlabel) in stub_posixshm_check_unlink()
841 stub_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, in stub_posixshm_check_write()
842 struct shmfd *shm, struct label *shmlabel) in stub_posixshm_check_write()
849 stub_posixshm_create(struct ucred *cred, struct shmfd *shmfd, in stub_posixshm_create()
850 struct label *shmlabel) in stub_posixshm_create()
856 stub_priv_check(struct ucred *cred, int priv) in stub_priv_check()
863 stub_priv_grant(struct ucred *cred, int priv) in stub_priv_grant()
870 stub_proc_check_debug(struct ucred *cred, struct proc *p) in stub_proc_check_debug()
877 stub_proc_check_sched(struct ucred *cred, struct proc *p) in stub_proc_check_sched()
884 stub_proc_check_signal(struct ucred *cred, struct proc *p, int signum) in stub_proc_check_signal()
891 stub_proc_check_wait(struct ucred *cred, struct proc *p) in stub_proc_check_wait()
898 stub_socket_check_accept(struct ucred *cred, struct socket *so, in stub_socket_check_accept()
899 struct label *solabel) in stub_socket_check_accept()
911 stub_socket_check_bind(struct ucred *cred, struct socket *so, in stub_socket_check_bind()
912 struct label *solabel, struct sockaddr *sa) in stub_socket_check_bind()
924 stub_socket_check_connect(struct ucred *cred, struct socket *so, in stub_socket_check_connect()
925 struct label *solabel, struct sockaddr *sa) in stub_socket_check_connect()
937 stub_socket_check_create(struct ucred *cred, int domain, int type, int proto) in stub_socket_check_create()
944 stub_socket_check_deliver(struct socket *so, struct label *solabel, in stub_socket_check_deliver()
945 struct mbuf *m, struct label *mlabel) in stub_socket_check_deliver()
957 stub_socket_check_listen(struct ucred *cred, struct socket *so, in stub_socket_check_listen()
958 struct label *solabel) in stub_socket_check_listen()
970 stub_socket_check_poll(struct ucred *cred, struct socket *so, in stub_socket_check_poll()
971 struct label *solabel) in stub_socket_check_poll()
983 stub_socket_check_receive(struct ucred *cred, struct socket *so, in stub_socket_check_receive()
984 struct label *solabel) in stub_socket_check_receive()
996 stub_socket_check_relabel(struct ucred *cred, struct socket *so, in stub_socket_check_relabel()
997 struct label *solabel, struct label *newlabel) in stub_socket_check_relabel()
1005 stub_socket_check_send(struct ucred *cred, struct socket *so, in stub_socket_check_send()
1006 struct label *solabel) in stub_socket_check_send()
1018 stub_socket_check_stat(struct ucred *cred, struct socket *so, in stub_socket_check_stat()
1019 struct label *solabel) in stub_socket_check_stat()
1031 stub_inpcb_check_visible(struct ucred *cred, struct inpcb *inp, in stub_inpcb_check_visible()
1032 struct label *inplabel) in stub_inpcb_check_visible()
1039 stub_socket_check_visible(struct ucred *cred, struct socket *so, in stub_socket_check_visible()
1040 struct label *solabel) in stub_socket_check_visible()
1052 stub_socket_create(struct ucred *cred, struct socket *so, in stub_socket_create()
1053 struct label *solabel) in stub_socket_create()
1059 stub_socket_create_mbuf(struct socket *so, struct label *solabel, in stub_socket_create_mbuf()
1060 struct mbuf *m, struct label *mlabel) in stub_socket_create_mbuf()
1070 stub_socket_newconn(struct socket *oldso, struct label *oldsolabel, in stub_socket_newconn()
1071 struct socket *newso, struct label *newsolabel) in stub_socket_newconn()
1085 stub_socket_relabel(struct ucred *cred, struct socket *so, in stub_socket_relabel()
1086 struct label *solabel, struct label *newlabel) in stub_socket_relabel()
1093 stub_socketpeer_set_from_mbuf(struct mbuf *m, struct label *mlabel, in stub_socketpeer_set_from_mbuf()
1094 struct socket *so, struct label *sopeerlabel) in stub_socketpeer_set_from_mbuf()
1104 stub_socketpeer_set_from_socket(struct socket *oldso, in stub_socketpeer_set_from_socket()
1105 struct label *oldsolabel, struct socket *newso, in stub_socketpeer_set_from_socket()
1106 struct label *newsopeerlabel) in stub_socketpeer_set_from_socket()
1120 stub_syncache_create(struct label *label, struct inpcb *inp) in stub_syncache_create()
1126 stub_syncache_create_mbuf(struct label *sc_label, struct mbuf *m, in stub_syncache_create_mbuf()
1127 struct label *mlabel) in stub_syncache_create_mbuf()
1133 stub_system_check_acct(struct ucred *cred, struct vnode *vp, in stub_system_check_acct()
1134 struct label *vplabel) in stub_system_check_acct()
1141 stub_system_check_audit(struct ucred *cred, void *record, int length) in stub_system_check_audit()
1148 stub_system_check_auditctl(struct ucred *cred, struct vnode *vp, in stub_system_check_auditctl()
1149 struct label *vplabel) in stub_system_check_auditctl()
1156 stub_system_check_auditon(struct ucred *cred, int cmd) in stub_system_check_auditon()
1163 stub_system_check_reboot(struct ucred *cred, int how) in stub_system_check_reboot()
1170 stub_system_check_swapoff(struct ucred *cred, struct vnode *vp, in stub_system_check_swapoff()
1171 struct label *vplabel) in stub_system_check_swapoff()
1178 stub_system_check_swapon(struct ucred *cred, struct vnode *vp, in stub_system_check_swapon()
1179 struct label *vplabel) in stub_system_check_swapon()
1186 stub_system_check_sysctl(struct ucred *cred, struct sysctl_oid *oidp, in stub_system_check_sysctl()
1187 void *arg1, int arg2, struct sysctl_req *req) in stub_system_check_sysctl()
1194 stub_sysvmsg_cleanup(struct label *msglabel) in stub_sysvmsg_cleanup()
1200 stub_sysvmsg_create(struct ucred *cred, struct msqid_kernel *msqkptr, in stub_sysvmsg_create()
1201 struct label *msqlabel, struct msg *msgptr, struct label *msglabel) in stub_sysvmsg_create()
1207 stub_sysvmsq_check_msgmsq(struct ucred *cred, struct msg *msgptr, in stub_sysvmsq_check_msgmsq()
1208 struct label *msglabel, struct msqid_kernel *msqkptr, in stub_sysvmsq_check_msgmsq()
1209 struct label *msqklabel) in stub_sysvmsq_check_msgmsq()
1216 stub_sysvmsq_check_msgrcv(struct ucred *cred, struct msg *msgptr, in stub_sysvmsq_check_msgrcv()
1217 struct label *msglabel) in stub_sysvmsq_check_msgrcv()
1224 stub_sysvmsq_check_msgrmid(struct ucred *cred, struct msg *msgptr, in stub_sysvmsq_check_msgrmid()
1225 struct label *msglabel) in stub_sysvmsq_check_msgrmid()
1232 stub_sysvmsq_check_msqget(struct ucred *cred, struct msqid_kernel *msqkptr, in stub_sysvmsq_check_msqget()
1233 struct label *msqklabel) in stub_sysvmsq_check_msqget()
1240 stub_sysvmsq_check_msqsnd(struct ucred *cred, struct msqid_kernel *msqkptr, in stub_sysvmsq_check_msqsnd()
1241 struct label *msqklabel) in stub_sysvmsq_check_msqsnd()
1248 stub_sysvmsq_check_msqrcv(struct ucred *cred, struct msqid_kernel *msqkptr, in stub_sysvmsq_check_msqrcv()
1249 struct label *msqklabel) in stub_sysvmsq_check_msqrcv()
1256 stub_sysvmsq_check_msqctl(struct ucred *cred, struct msqid_kernel *msqkptr, in stub_sysvmsq_check_msqctl()
1257 struct label *msqklabel, int cmd) in stub_sysvmsq_check_msqctl()
1264 stub_sysvmsq_cleanup(struct label *msqlabel) in stub_sysvmsq_cleanup()
1270 stub_sysvmsq_create(struct ucred *cred, struct msqid_kernel *msqkptr, in stub_sysvmsq_create()
1271 struct label *msqlabel) in stub_sysvmsq_create()
1277 stub_sysvsem_check_semctl(struct ucred *cred, struct semid_kernel *semakptr, in stub_sysvsem_check_semctl()
1278 struct label *semaklabel, int cmd) in stub_sysvsem_check_semctl()
1285 stub_sysvsem_check_semget(struct ucred *cred, struct semid_kernel *semakptr, in stub_sysvsem_check_semget()
1286 struct label *semaklabel) in stub_sysvsem_check_semget()
1293 stub_sysvsem_check_semop(struct ucred *cred, struct semid_kernel *semakptr, in stub_sysvsem_check_semop()
1294 struct label *semaklabel, size_t accesstype) in stub_sysvsem_check_semop()
1301 stub_sysvsem_cleanup(struct label *semalabel) in stub_sysvsem_cleanup()
1307 stub_sysvsem_create(struct ucred *cred, struct semid_kernel *semakptr, in stub_sysvsem_create()
1308 struct label *semalabel) in stub_sysvsem_create()
1314 stub_sysvshm_check_shmat(struct ucred *cred, struct shmid_kernel *shmsegptr, in stub_sysvshm_check_shmat()
1315 struct label *shmseglabel, int shmflg) in stub_sysvshm_check_shmat()
1322 stub_sysvshm_check_shmctl(struct ucred *cred, struct shmid_kernel *shmsegptr, in stub_sysvshm_check_shmctl()
1323 struct label *shmseglabel, int cmd) in stub_sysvshm_check_shmctl()
1330 stub_sysvshm_check_shmdt(struct ucred *cred, struct shmid_kernel *shmsegptr, in stub_sysvshm_check_shmdt()
1331 struct label *shmseglabel) in stub_sysvshm_check_shmdt()
1338 stub_sysvshm_check_shmget(struct ucred *cred, struct shmid_kernel *shmsegptr, in stub_sysvshm_check_shmget()
1339 struct label *shmseglabel, int shmflg) in stub_sysvshm_check_shmget()
1346 stub_sysvshm_cleanup(struct label *shmlabel) in stub_sysvshm_cleanup()
1352 stub_sysvshm_create(struct ucred *cred, struct shmid_kernel *shmsegptr, in stub_sysvshm_create()
1353 struct label *shmalabel) in stub_sysvshm_create()
1359 stub_thread_userret(struct thread *td) in stub_thread_userret()
1365 stub_vnode_associate_extattr(struct mount *mp, struct label *mplabel, in stub_vnode_associate_extattr()
1366 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_extattr()
1373 stub_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel, in stub_vnode_associate_singlelabel()
1374 struct vnode *vp, struct label *vplabel) in stub_vnode_associate_singlelabel()
1380 stub_vnode_check_access(struct ucred *cred, struct vnode *vp, in stub_vnode_check_access()
1381 struct label *vplabel, accmode_t accmode) in stub_vnode_check_access()
1388 stub_vnode_check_chdir(struct ucred *cred, struct vnode *dvp, in stub_vnode_check_chdir()
1389 struct label *dvplabel) in stub_vnode_check_chdir()
1396 stub_vnode_check_chroot(struct ucred *cred, struct vnode *dvp, in stub_vnode_check_chroot()
1397 struct label *dvplabel) in stub_vnode_check_chroot()
1404 stub_vnode_check_create(struct ucred *cred, struct vnode *dvp, in stub_vnode_check_create()
1405 struct label *dvplabel, struct componentname *cnp, struct vattr *vap) in stub_vnode_check_create()
1412 stub_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, in stub_vnode_check_deleteacl()
1413 struct label *vplabel, acl_type_t type) in stub_vnode_check_deleteacl()
1420 stub_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, in stub_vnode_check_deleteextattr()
1421 struct label *vplabel, int attrnamespace, const char *name) in stub_vnode_check_deleteextattr()
1428 stub_vnode_check_exec(struct ucred *cred, struct vnode *vp, in stub_vnode_check_exec()
1429 struct label *vplabel, struct image_params *imgp, in stub_vnode_check_exec()
1430 struct label *execlabel) in stub_vnode_check_exec()
1437 stub_vnode_check_getacl(struct ucred *cred, struct vnode *vp, in stub_vnode_check_getacl()
1438 struct label *vplabel, acl_type_t type) in stub_vnode_check_getacl()
1445 stub_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, in stub_vnode_check_getextattr()
1446 struct label *vplabel, int attrnamespace, const char *name) in stub_vnode_check_getextattr()
1453 stub_vnode_check_link(struct ucred *cred, struct vnode *dvp, in stub_vnode_check_link()
1454 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in stub_vnode_check_link()
1455 struct componentname *cnp) in stub_vnode_check_link()
1462 stub_vnode_check_listextattr(struct ucred *cred, struct vnode *vp, in stub_vnode_check_listextattr()
1463 struct label *vplabel, int attrnamespace) in stub_vnode_check_listextattr()
1470 stub_vnode_check_lookup(struct ucred *cred, struct vnode *dvp, in stub_vnode_check_lookup()
1471 struct label *dvplabel, struct componentname *cnp) in stub_vnode_check_lookup()
1478 stub_vnode_check_mmap(struct ucred *cred, struct vnode *vp, in stub_vnode_check_mmap()
1479 struct label *vplabel, int prot, int flags) in stub_vnode_check_mmap()
1486 stub_vnode_check_mmap_downgrade(struct ucred *cred, struct vnode *vp, in stub_vnode_check_mmap_downgrade()
1487 struct label *vplabel, int *prot) in stub_vnode_check_mmap_downgrade()
1493 stub_vnode_check_mprotect(struct ucred *cred, struct vnode *vp, in stub_vnode_check_mprotect()
1494 struct label *vplabel, int prot) in stub_vnode_check_mprotect()
1501 stub_vnode_check_open(struct ucred *cred, struct vnode *vp, in stub_vnode_check_open()
1502 struct label *vplabel, accmode_t accmode) in stub_vnode_check_open()
1509 stub_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, in stub_vnode_check_poll()
1510 struct vnode *vp, struct label *vplabel) in stub_vnode_check_poll()
1517 stub_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, in stub_vnode_check_read()
1518 struct vnode *vp, struct label *vplabel) in stub_vnode_check_read()
1525 stub_vnode_check_readdir(struct ucred *cred, struct vnode *vp, in stub_vnode_check_readdir()
1526 struct label *dvplabel) in stub_vnode_check_readdir()
1533 stub_vnode_check_readlink(struct ucred *cred, struct vnode *vp, in stub_vnode_check_readlink()
1534 struct label *vplabel) in stub_vnode_check_readlink()
1541 stub_vnode_check_relabel(struct ucred *cred, struct vnode *vp, in stub_vnode_check_relabel()
1542 struct label *vplabel, struct label *newlabel) in stub_vnode_check_relabel()
1549 stub_vnode_check_rename_from(struct ucred *cred, struct vnode *dvp, in stub_vnode_check_rename_from()
1550 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in stub_vnode_check_rename_from()
1551 struct componentname *cnp) in stub_vnode_check_rename_from()
1558 stub_vnode_check_rename_to(struct ucred *cred, struct vnode *dvp, in stub_vnode_check_rename_to()
1559 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in stub_vnode_check_rename_to()
1560 int samedir, struct componentname *cnp) in stub_vnode_check_rename_to()
1567 stub_vnode_check_revoke(struct ucred *cred, struct vnode *vp, in stub_vnode_check_revoke()
1568 struct label *vplabel) in stub_vnode_check_revoke()
1575 stub_vnode_check_setacl(struct ucred *cred, struct vnode *vp, in stub_vnode_check_setacl()
1576 struct label *vplabel, acl_type_t type, struct acl *acl) in stub_vnode_check_setacl()
1583 stub_vnode_check_setextattr(struct ucred *cred, struct vnode *vp, in stub_vnode_check_setextattr()
1584 struct label *vplabel, int attrnamespace, const char *name) in stub_vnode_check_setextattr()
1591 stub_vnode_check_setflags(struct ucred *cred, struct vnode *vp, in stub_vnode_check_setflags()
1592 struct label *vplabel, u_long flags) in stub_vnode_check_setflags()
1599 stub_vnode_check_setmode(struct ucred *cred, struct vnode *vp, in stub_vnode_check_setmode()
1600 struct label *vplabel, mode_t mode) in stub_vnode_check_setmode()
1607 stub_vnode_check_setowner(struct ucred *cred, struct vnode *vp, in stub_vnode_check_setowner()
1608 struct label *vplabel, uid_t uid, gid_t gid) in stub_vnode_check_setowner()
1615 stub_vnode_check_setutimes(struct ucred *cred, struct vnode *vp, in stub_vnode_check_setutimes()
1616 struct label *vplabel, struct timespec atime, struct timespec mtime) in stub_vnode_check_setutimes()
1623 stub_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, in stub_vnode_check_stat()
1624 struct vnode *vp, struct label *vplabel) in stub_vnode_check_stat()
1631 stub_vnode_check_unlink(struct ucred *cred, struct vnode *dvp, in stub_vnode_check_unlink()
1632 struct label *dvplabel, struct vnode *vp, struct label *vplabel, in stub_vnode_check_unlink()
1633 struct componentname *cnp) in stub_vnode_check_unlink()
1640 stub_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, in stub_vnode_check_write()
1641 struct vnode *vp, struct label *vplabel) in stub_vnode_check_write()
1648 stub_vnode_create_extattr(struct ucred *cred, struct mount *mp, in stub_vnode_create_extattr()
1649 struct label *mntlabel, struct vnode *dvp, struct label *dvplabel, in stub_vnode_create_extattr()
1650 struct vnode *vp, struct label *vplabel, struct componentname *cnp) in stub_vnode_create_extattr()
1657 stub_vnode_execve_transition(struct ucred *old, struct ucred *new, in stub_vnode_execve_transition()
1658 struct vnode *vp, struct label *vplabel, struct label *interpvplabel, in stub_vnode_execve_transition()
1659 struct image_params *imgp, struct label *execlabel) in stub_vnode_execve_transition()
1665 stub_vnode_execve_will_transition(struct ucred *old, struct vnode *vp, in stub_vnode_execve_will_transition()
1666 struct label *vplabel, struct label *interpvplabel, in stub_vnode_execve_will_transition()
1667 struct image_params *imgp, struct label *execlabel) in stub_vnode_execve_will_transition()
1674 stub_vnode_relabel(struct ucred *cred, struct vnode *vp, in stub_vnode_relabel()
1675 struct label *vplabel, struct label *label) in stub_vnode_relabel()
1681 stub_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp, in stub_vnode_setlabel_extattr()
1682 struct label *vplabel, struct label *intlabel) in stub_vnode_setlabel_extattr()
1691 static struct mac_policy_ops stub_ops =