PERFORCE change 100996 for review

Robert Watson rwatson at FreeBSD.org
Sat Jul 8 13:18:01 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100996

Change 100996 by rwatson at rwatson_zoo on 2006/07/08 13:16:54

	Rename.

Affected files ...

.. //depot/projects/trustedbsd/mac2/sys/security/mac_stub/mac_stub.c#3 edit

Differences ...

==== //depot/projects/trustedbsd/mac2/sys/security/mac_stub/mac_stub.c#3 (text+ko) ====

@@ -98,13 +98,13 @@
  * Policy module operations.
  */
 static void
-stub_destroy(struct mac_policy_conf *conf)
+stub_policy_destroy(struct mac_policy_conf *conf)
 {
 
 }
 
 static void
-stub_init(struct mac_policy_conf *conf)
+stub_policy_init(struct mac_policy_conf *conf)
 {
 
 }
@@ -165,7 +165,7 @@
  * a lot like file system objects.
  */
 static void
-stub_associate_vnode_devfs(struct mount *mp, struct label *mntlabel,
+stub_devfs_vnode_associate(struct mount *mp, struct label *mntlabel,
     struct devfs_dirent *de, struct label *delabel, struct vnode *vp,
     struct label *vlabel)
 {
@@ -173,7 +173,7 @@
 }
 
 static int
-stub_associate_vnode_extattr(struct mount *mp, struct label *mntlabel,
+stub_vnode_associate_extattr(struct mount *mp, struct label *mntlabel,
     struct vnode *vp, struct label *vlabel)
 {
 
@@ -181,28 +181,28 @@
 }
 
 static void
-stub_associate_vnode_singlelabel(struct mount *mp,
+stub_vnode_associate_singlelabel(struct mount *mp,
     struct label *mntlabel, struct vnode *vp, struct label *vlabel)
 {
 
 }
 
 static void
-stub_create_devfs_device(struct ucred *cred, struct mount *mp,
+stub_devfs_create_device(struct ucred *cred, struct mount *mp,
     struct cdev *dev, struct devfs_dirent *devfs_dirent, struct label *label)
 {
 
 }
 
 static void
-stub_create_devfs_directory(struct mount *mp, char *dirname,
+stub_devfs_create_directory(struct mount *mp, char *dirname,
     int dirnamelen, struct devfs_dirent *devfs_dirent, struct label *label)
 {
 
 }
 
 static void
-stub_create_devfs_symlink(struct ucred *cred, struct mount *mp,
+stub_devfs_create_symlink(struct ucred *cred, struct mount *mp,
     struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
     struct label *delabel)
 {
@@ -210,7 +210,7 @@
 }
 
 static int
-stub_create_vnode_extattr(struct ucred *cred, struct mount *mp,
+stub_vnode_create_extattr(struct ucred *cred, struct mount *mp,
     struct label *mntlabel, struct vnode *dvp, struct label *dlabel,
     struct vnode *vp, struct label *vlabel, struct componentname *cnp)
 {
@@ -219,21 +219,21 @@
 }
 
 static void
-stub_create_mount(struct ucred *cred, struct mount *mp,
+stub_mount_create(struct ucred *cred, struct mount *mp,
     struct label *mntlabel)
 {
 
 }
 
 static void
-stub_relabel_vnode(struct ucred *cred, struct vnode *vp,
+stub_vnode_relabel(struct ucred *cred, struct vnode *vp,
     struct label *vnodelabel, struct label *label)
 {
 
 }
 
 static int
-stub_setlabel_vnode_extattr(struct ucred *cred, struct vnode *vp,
+stub_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp,
     struct label *vlabel, struct label *intlabel)
 {
 
@@ -241,7 +241,7 @@
 }
 
 static void
-stub_update_devfsdirent(struct mount *mp,
+stub_devfs_update(struct mount *mp,
     struct devfs_dirent *devfs_dirent, struct label *direntlabel,
     struct vnode *vp, struct label *vnodelabel)
 {
@@ -252,35 +252,35 @@
  * Labeling event operations: IPC object.
  */
 static void
-stub_create_mbuf_from_socket(struct socket *so, struct label *socketlabel,
+stub_socket_create_mbuf(struct socket *so, struct label *socketlabel,
     struct mbuf *m, struct label *mbuflabel)
 {
 
 }
 
 static void
-stub_create_socket(struct ucred *cred, struct socket *socket,
+stub_socket_create(struct ucred *cred, struct socket *socket,
     struct label *socketlabel)
 {
 
 }
 
 static void
-stub_create_pipe(struct ucred *cred, struct pipepair *pp,
+stub_pipe_create(struct ucred *cred, struct pipepair *pp,
     struct label *pipelabel)
 {
 
 }
 
 static void
-stub_create_posix_sem(struct ucred *cred, struct ksem *ksemptr,
+stub_posix_sem_create(struct ucred *cred, struct ksem *ksemptr,
     struct label *ks_label)
 {
 
 }
 
 static void
-stub_create_socket_from_socket(struct socket *oldsocket,
+stub_socket_accept(struct socket *oldsocket,
     struct label *oldsocketlabel, struct socket *newsocket,
     struct label *newsocketlabel)
 {
@@ -288,28 +288,28 @@
 }
 
 static void
-stub_relabel_socket(struct ucred *cred, struct socket *socket,
+stub_socket_relabel(struct ucred *cred, struct socket *socket,
     struct label *socketlabel, struct label *newlabel)
 {
 
 }
 
 static void
-stub_relabel_pipe(struct ucred *cred, struct pipepair *pp,
+stub_pipe_relabel(struct ucred *cred, struct pipepair *pp,
     struct label *pipelabel, struct label *newlabel)
 {
 
 }
 
 static void
-stub_set_socket_peer_from_mbuf(struct mbuf *mbuf, struct label *mbuflabel,
+stub_socket_peer_set_from_mbuf(struct mbuf *mbuf, struct label *mbuflabel,
     struct socket *socket, struct label *socketpeerlabel)
 {
 
 }
 
 static void
-stub_set_socket_peer_from_socket(struct socket *oldsocket,
+stub_socket_peer_set_from_socket(struct socket *oldsocket,
     struct label *oldsocketlabel, struct socket *newsocket,
     struct label *newsocketpeerlabel)
 {
@@ -320,104 +320,104 @@
  * Labeling event operations: network objects.
  */
 static void
-stub_create_bpfdesc(struct ucred *cred, struct bpf_d *bpf_d,
+stub_bpfdesc_create(struct ucred *cred, struct bpf_d *bpf_d,
     struct label *bpflabel)
 {
 
 }
 
 static void
-stub_create_datagram_from_ipq(struct ipq *ipq, struct label *ipqlabel,
+stub_ipq_reassemble(struct ipq *ipq, struct label *ipqlabel,
     struct mbuf *datagram, struct label *datagramlabel)
 {
 
 }
 
 static void
-stub_create_fragment(struct mbuf *datagram, struct label *datagramlabel,
+stub_netinet_fragment(struct mbuf *datagram, struct label *datagramlabel,
     struct mbuf *fragment, struct label *fragmentlabel)
 {
 
 }
 
 static void
-stub_create_ifnet(struct ifnet *ifnet, struct label *ifnetlabel)
+stub_ifnet_create(struct ifnet *ifnet, struct label *ifnetlabel)
 {
 
 }
 
 static void
-stub_create_inpcb_from_socket(struct socket *so, struct label *solabel,
+stub_inpcb_create(struct socket *so, struct label *solabel,
     struct inpcb *inp, struct label *inplabel)
 {
 
 }
 
 static void
-stub_create_sysv_msgmsg(struct ucred *cred, struct msqid_kernel *msqkptr,
+stub_sysvmsg_create(struct ucred *cred, struct msqid_kernel *msqkptr,
     struct label *msqlabel, struct msg *msgptr, struct label *msglabel)
 {
 
 }
 
 static void
-stub_create_sysv_msgqueue(struct ucred *cred, struct msqid_kernel *msqkptr,
+stub_sysvmsq_create(struct ucred *cred, struct msqid_kernel *msqkptr,
     struct label *msqlabel)
 {
 
 }
 
 static void
-stub_create_sysv_sem(struct ucred *cred, struct semid_kernel *semakptr,
+stub_sysvsem_create(struct ucred *cred, struct semid_kernel *semakptr,
     struct label *semalabel)
 {
 
 }
 
 static void
-stub_create_sysv_shm(struct ucred *cred, struct shmid_kernel *shmsegptr,
+stub_sysvshm_create(struct ucred *cred, struct shmid_kernel *shmsegptr,
     struct label *shmalabel)
 {
 
 }
 
 static void
-stub_create_ipq(struct mbuf *fragment, struct label *fragmentlabel,
+stub_ipq_create(struct mbuf *fragment, struct label *fragmentlabel,
     struct ipq *ipq, struct label *ipqlabel)
 {
 
 }
 
 static void
-stub_create_mbuf_from_inpcb(struct inpcb *inp, struct label *inplabel,
+stub_inpcb_create_mbuf(struct inpcb *inp, struct label *inplabel,
     struct mbuf *m, struct label *mlabel)
 {
 
 }
 
 static void
-stub_create_mbuf_linklayer(struct ifnet *ifnet, struct label *ifnetlabel,
+stub_mbuf_create_linklayer(struct ifnet *ifnet, struct label *ifnetlabel,
     struct mbuf *mbuf, struct label *mbuflabel)
 {
 
 }
 
 static void
-stub_create_mbuf_from_bpfdesc(struct bpf_d *bpf_d, struct label *bpflabel,
+stub_bpfdesc_create_mbuf(struct bpf_d *bpf_d, struct label *bpflabel,
     struct mbuf *mbuf, struct label *mbuflabel)
 {
 
 }
 
 static void
-stub_create_mbuf_from_ifnet(struct ifnet *ifnet, struct label *ifnetlabel,
+stub_ifnet_create_mbuf(struct ifnet *ifnet, struct label *ifnetlabel,
     struct mbuf *m, struct label *mbuflabel)
 {
 
 }
 
 static void
-stub_create_mbuf_multicast_encap(struct mbuf *oldmbuf,
+stub_mbuf_create_multicast_encap(struct mbuf *oldmbuf,
     struct label *oldmbuflabel, struct ifnet *ifnet, struct label *ifnetlabel,
     struct mbuf *newmbuf, struct label *newmbuflabel)
 {
@@ -425,14 +425,14 @@
 }
 
 static void
-stub_create_mbuf_netlayer(struct mbuf *oldmbuf,
+stub_mbuf_create_netlayer(struct mbuf *oldmbuf,
     struct label *oldmbuflabel, struct mbuf *newmbuf, struct label *newmbuflabel)
 {
 
 }
 
 static int
-stub_fragment_match(struct mbuf *fragment, struct label *fragmentlabel,
+stub_ipq_match(struct mbuf *fragment, struct label *fragmentlabel,
     struct ipq *ipq, struct label *ipqlabel)
 {
 
@@ -440,26 +440,26 @@
 }
 
 static void
-stub_reflect_mbuf_icmp(struct mbuf *m, struct label *mlabel)
+stub_netinet_icmp_reply(struct mbuf *m, struct label *mlabel)
 {
 
 }
 
 static void
-stub_reflect_mbuf_tcp(struct mbuf *m, struct label *mlabel)
+stub_netinet_tcp_reply(struct mbuf *m, struct label *mlabel)
 {
 
 }
 
 static void
-stub_relabel_ifnet(struct ucred *cred, struct ifnet *ifnet,
+stub_ifnet_relabel(struct ucred *cred, struct ifnet *ifnet,
     struct label *ifnetlabel, struct label *newlabel)
 {
 
 }
 
 static void
-stub_update_ipq(struct mbuf *fragment, struct label *fragmentlabel,
+stub_ipq_update(struct mbuf *fragment, struct label *fragmentlabel,
     struct ipq *ipq, struct label *ipqlabel)
 {
 
@@ -476,7 +476,7 @@
  * Labeling event operations: processes.
  */
 static void
-stub_execve_transition(struct ucred *old, struct ucred *new,
+stub_vnode_execve_transition(struct ucred *old, struct ucred *new,
     struct vnode *vp, struct label *vnodelabel,
     struct label *interpvnodelabel, struct image_params *imgp,
     struct label *execlabel)
@@ -485,7 +485,7 @@
 }
 
 static int
-stub_execve_will_transition(struct ucred *old, struct vnode *vp,
+stub_vnode_execve_will_transition(struct ucred *old, struct vnode *vp,
     struct label *vnodelabel, struct label *interpvnodelabel,
     struct image_params *imgp, struct label *execlabel)
 {
@@ -494,19 +494,19 @@
 }
 
 static void
-stub_create_proc0(struct ucred *cred)
+stub_proc_create_swapper(struct ucred *cred)
 {
 
 }
 
 static void
-stub_create_proc1(struct ucred *cred)
+stub_proc_create_init(struct ucred *cred)
 {
 
 }
 
 static void
-stub_relabel_cred(struct ucred *cred, struct label *newlabel)
+stub_cred_relabel(struct ucred *cred, struct label *newlabel)
 {
 
 }
@@ -521,25 +521,25 @@
  * Label cleanup/flush operations
  */
 static void
-stub_cleanup_sysv_msgmsg(struct label *msglabel)
+stub_sysvmsg_cleanup(struct label *msglabel)
 {
 
 }
 
 static void
-stub_cleanup_sysv_msgqueue(struct label *msqlabel)
+stub_sysvmsq_cleanup(struct label *msqlabel)
 {
 
 }
 
 static void
-stub_cleanup_sysv_sem(struct label *semalabel)
+stub_sysvsem_cleanup(struct label *semalabel)
 {
 
 }
 
 static void
-stub_cleanup_sysv_shm(struct label *shmlabel)
+stub_sysvshm_cleanup(struct label *shmlabel)
 {
 
 }
@@ -548,7 +548,7 @@
  * Access control checks.
  */
 static int
-stub_check_bpfdesc_receive(struct bpf_d *bpf_d, struct label *bpflabel,
+stub_bpfdesc_check_receive(struct bpf_d *bpf_d, struct label *bpflabel,
     struct ifnet *ifnet, struct label *ifnet_label)
 {
 
@@ -556,21 +556,21 @@
 }
 
 static int
-stub_check_cred_relabel(struct ucred *cred, struct label *newlabel)
+stub_cred_check_relabel(struct ucred *cred, struct label *newlabel)
 {
 
 	return (0);
 }
 
 static int
-stub_check_cred_visible(struct ucred *u1, struct ucred *u2)
+stub_cred_check_visible(struct ucred *u1, struct ucred *u2)
 {
 
 	return (0);
 }
 
 static int
-stub_check_ifnet_relabel(struct ucred *cred, struct ifnet *ifnet,
+stub_ifnet_check_relabel(struct ucred *cred, struct ifnet *ifnet,
     struct label *ifnetlabel, struct label *newlabel)
 {
 
@@ -578,7 +578,7 @@
 }
 
 static int
-stub_check_ifnet_transmit(struct ifnet *ifnet, struct label *ifnetlabel,
+stub_ifnet_check_transmit(struct ifnet *ifnet, struct label *ifnetlabel,
     struct mbuf *m, struct label *mbuflabel)
 {
 
@@ -586,7 +586,7 @@
 }
 
 static int
-stub_check_inpcb_deliver(struct inpcb *inp, struct label *inplabel,
+stub_inpcb_check_deliver(struct inpcb *inp, struct label *inplabel,
     struct mbuf *m, struct label *mlabel)
 {
 
@@ -594,7 +594,7 @@
 }
 
 static int
-stub_check_sysv_msgmsq(struct ucred *cred, struct msg *msgptr,
+stub_sysvmsq_check_msgmsq(struct ucred *cred, struct msg *msgptr,
     struct label *msglabel, struct msqid_kernel *msqkptr,
     struct label *msqklabel)
 {
@@ -603,7 +603,7 @@
 }
 
 static int
-stub_check_sysv_msgrcv(struct ucred *cred, struct msg *msgptr,
+stub_sysvmsq_check_msgrcv(struct ucred *cred, struct msg *msgptr,
     struct label *msglabel)
 {
 
@@ -612,7 +612,7 @@
 
 
 static int
-stub_check_sysv_msgrmid(struct ucred *cred, struct msg *msgptr,
+stub_sysvmsq_check_msgrmid(struct ucred *cred, struct msg *msgptr,
     struct label *msglabel)
 {
 
@@ -621,7 +621,7 @@
 
 
 static int
-stub_check_sysv_msqget(struct ucred *cred, struct msqid_kernel *msqkptr,
+stub_sysvmsq_check_msqget(struct ucred *cred, struct msqid_kernel *msqkptr,
     struct label *msqklabel)
 {
 
@@ -630,7 +630,7 @@
 
 
 static int
-stub_check_sysv_msqsnd(struct ucred *cred, struct msqid_kernel *msqkptr,
+stub_sysvmsq_check_msqsnd(struct ucred *cred, struct msqid_kernel *msqkptr,
     struct label *msqklabel)
 {
 
@@ -638,7 +638,7 @@
 }
 
 static int
-stub_check_sysv_msqrcv(struct ucred *cred, struct msqid_kernel *msqkptr,
+stub_sysvmsq_check_msqrcv(struct ucred *cred, struct msqid_kernel *msqkptr,
     struct label *msqklabel)
 {
 
@@ -647,7 +647,7 @@
 
 
 static int
-stub_check_sysv_msqctl(struct ucred *cred, struct msqid_kernel *msqkptr,
+stub_sysvmsq_check_msqctl(struct ucred *cred, struct msqid_kernel *msqkptr,
     struct label *msqklabel, int cmd)
 {
 
@@ -656,7 +656,7 @@
 
 
 static int
-stub_check_sysv_semctl(struct ucred *cred, struct semid_kernel *semakptr,
+stub_sysvsem_check_semctl(struct ucred *cred, struct semid_kernel *semakptr,
     struct label *semaklabel, int cmd)
 {
 
@@ -664,7 +664,7 @@
 }
 
 static int
-stub_check_sysv_semget(struct ucred *cred, struct semid_kernel *semakptr,
+stub_sysvsem_check_semget(struct ucred *cred, struct semid_kernel *semakptr,
     struct label *semaklabel)
 {
 
@@ -673,7 +673,7 @@
 
 
 static int
-stub_check_sysv_semop(struct ucred *cred, struct semid_kernel *semakptr,
+stub_sysvsem_check_semop(struct ucred *cred, struct semid_kernel *semakptr,
     struct label *semaklabel, size_t accesstype)
 {
 
@@ -681,7 +681,7 @@
 }
 
 static int
-stub_check_sysv_shmat(struct ucred *cred, struct shmid_kernel *shmsegptr,
+stub_sysvshm_check_shmat(struct ucred *cred, struct shmid_kernel *shmsegptr,
     struct label *shmseglabel, int shmflg)
 {
 
@@ -689,7 +689,7 @@
 }
 
 static int
-stub_check_sysv_shmctl(struct ucred *cred, struct shmid_kernel *shmsegptr,
+stub_sysvshm_check_shmctl(struct ucred *cred, struct shmid_kernel *shmsegptr,
     struct label *shmseglabel, int cmd)
 {
 
@@ -697,7 +697,7 @@
 }
 
 static int
-stub_check_sysv_shmdt(struct ucred *cred, struct shmid_kernel *shmsegptr,
+stub_sysvshm_check_shmdt(struct ucred *cred, struct shmid_kernel *shmsegptr,
     struct label *shmseglabel)
 {
 
@@ -706,7 +706,7 @@
 
 
 static int
-stub_check_sysv_shmget(struct ucred *cred, struct shmid_kernel *shmsegptr,
+stub_sysvshm_check_shmget(struct ucred *cred, struct shmid_kernel *shmsegptr,
     struct label *shmseglabel, int shmflg)
 {
 
@@ -714,35 +714,35 @@
 }
 
 static int
-stub_check_kenv_dump(struct ucred *cred)
+stub_kenv_check_dump(struct ucred *cred)
 {
 
 	return (0);
 }
 
 static int
-stub_check_kenv_get(struct ucred *cred, char *name)
+stub_kenv_check_get(struct ucred *cred, char *name)
 {
 
 	return (0);
 }
 
 static int
-stub_check_kenv_set(struct ucred *cred, char *name, char *value)
+stub_kenv_check_set(struct ucred *cred, char *name, char *value)
 {
 
 	return (0);
 }
 
 static int
-stub_check_kenv_unset(struct ucred *cred, char *name)
+stub_kenv_check_unset(struct ucred *cred, char *name)
 {
 
 	return (0);
 }
 
 static int
-stub_check_kld_load(struct ucred *cred, struct vnode *vp,
+stub_kld_check_load(struct ucred *cred, struct vnode *vp,
     struct label *vlabel)
 {
 
@@ -750,21 +750,21 @@
 }
 
 static int
-stub_check_kld_stat(struct ucred *cred)
+stub_kld_check_stat(struct ucred *cred)
 {
 
 	return (0);
 }
 
 static int
-stub_check_kld_unload(struct ucred *cred)
+stub_kld_check_unload(struct ucred *cred)
 {
 
 	return (0);
 }
 
 static int
-stub_check_mount_stat(struct ucred *cred, struct mount *mp,
+stub_mount_check_stat(struct ucred *cred, struct mount *mp,
     struct label *mntlabel)
 {
 
@@ -772,7 +772,7 @@
 }
 
 static int
-stub_check_pipe_ioctl(struct ucred *cred, struct pipepair *pp,
+stub_pipe_check_ioctl(struct ucred *cred, struct pipepair *pp,
     struct label *pipelabel, unsigned long cmd, void /* caddr_t */ *data)
 {
 
@@ -780,7 +780,7 @@
 }
 
 static int
-stub_check_pipe_poll(struct ucred *cred, struct pipepair *pp,
+stub_pipe_check_poll(struct ucred *cred, struct pipepair *pp,
     struct label *pipelabel)
 {
 
@@ -788,7 +788,7 @@
 }
 
 static int
-stub_check_pipe_read(struct ucred *cred, struct pipepair *pp,
+stub_pipe_check_read(struct ucred *cred, struct pipepair *pp,
     struct label *pipelabel)
 {
 
@@ -796,7 +796,7 @@
 }
 
 static int
-stub_check_pipe_relabel(struct ucred *cred, struct pipepair *pp,
+stub_pipe_check_relabel(struct ucred *cred, struct pipepair *pp,
     struct label *pipelabel, struct label *newlabel)
 {
 
@@ -804,7 +804,7 @@
 }
 
 static int
-stub_check_pipe_stat(struct ucred *cred, struct pipepair *pp,
+stub_pipe_check_stat(struct ucred *cred, struct pipepair *pp,
     struct label *pipelabel)
 {
 
@@ -812,7 +812,7 @@
 }
 
 static int
-stub_check_pipe_write(struct ucred *cred, struct pipepair *pp,
+stub_pipe_check_write(struct ucred *cred, struct pipepair *pp,
     struct label *pipelabel)
 {
 
@@ -820,7 +820,7 @@
 }
 
 static int
-stub_check_posix_sem_destroy(struct ucred *cred, struct ksem *ksemptr,
+stub_posix_sem_check_destroy(struct ucred *cred, struct ksem *ksemptr,
     struct label *ks_label)
 {
 
@@ -828,7 +828,7 @@
 }
 
 static int
-stub_check_posix_sem_getvalue(struct ucred *cred, struct ksem *ksemptr,
+stub_posix_sem_check_getvalue(struct ucred *cred, struct ksem *ksemptr,
     struct label *ks_label)
 {
 
@@ -836,7 +836,7 @@
 }
 
 static int
-stub_check_posix_sem_open(struct ucred *cred, struct ksem *ksemptr,
+stub_posix_sem_check_open(struct ucred *cred, struct ksem *ksemptr,
     struct label *ks_label)
 {
 
@@ -844,7 +844,7 @@
 }
 
 static int
-stub_check_posix_sem_post(struct ucred *cred, struct ksem *ksemptr,
+stub_posix_sem_check_post(struct ucred *cred, struct ksem *ksemptr,
     struct label *ks_label)
 {
 
@@ -852,7 +852,7 @@
 }
 
 static int
-stub_check_posix_sem_unlink(struct ucred *cred, struct ksem *ksemptr,
+stub_posix_sem_check_unlink(struct ucred *cred, struct ksem *ksemptr,
     struct label *ks_label)
 {
 
@@ -860,7 +860,7 @@
 }
 
 static int
-stub_check_posix_sem_wait(struct ucred *cred, struct ksem *ksemptr,
+stub_posix_sem_check_wait(struct ucred *cred, struct ksem *ksemptr,
     struct label *ks_label)
 {
 
@@ -868,63 +868,63 @@
 }
 
 static int
-stub_check_proc_debug(struct ucred *cred, struct proc *proc)
+stub_proc_check_debug(struct ucred *cred, struct proc *proc)
 {
 
 	return (0);
 }
 
 static int
-stub_check_proc_sched(struct ucred *cred, struct proc *proc)
+stub_proc_check_sched(struct ucred *cred, struct proc *proc)
 {
 
 	return (0);
 }
 
 static int
-stub_check_proc_signal(struct ucred *cred, struct proc *proc, int signum)
+stub_proc_check_signal(struct ucred *cred, struct proc *proc, int signum)
 {
 
 	return (0);
 }
 
 static int
-stub_check_proc_wait(struct ucred *cred, struct proc *proc)
+stub_proc_check_wait(struct ucred *cred, struct proc *proc)
 {
 
 	return (0);
 }
 
 static int
-stub_check_proc_setuid(struct ucred *cred, uid_t uid)
+stub_proc_check_setuid(struct ucred *cred, uid_t uid)
 {
 
 	return (0);
 }
 
 static int
-stub_check_proc_seteuid(struct ucred *cred, uid_t euid)
+stub_proc_check_seteuid(struct ucred *cred, uid_t euid)
 {
 
 	return (0);
 }
 
 static int
-stub_check_proc_setgid(struct ucred *cred, gid_t gid)
+stub_proc_check_setgid(struct ucred *cred, gid_t gid)
 {
 
 	return (0);
 }
 
 static int
-stub_check_proc_setegid(struct ucred *cred, gid_t egid)
+stub_proc_check_setegid(struct ucred *cred, gid_t egid)
 {
 
 	return (0);
 }
 
 static int
-stub_check_proc_setgroups(struct ucred *cred, int ngroups,
+stub_proc_check_setgroups(struct ucred *cred, int ngroups,
 	gid_t *gidset)
 {
 
@@ -932,21 +932,21 @@
 }
 
 static int
-stub_check_proc_setreuid(struct ucred *cred, uid_t ruid, uid_t euid)
+stub_proc_check_setreuid(struct ucred *cred, uid_t ruid, uid_t euid)
 {
 
 	return (0);
 }
 
 static int
-stub_check_proc_setregid(struct ucred *cred, gid_t rgid, gid_t egid)
+stub_proc_check_setregid(struct ucred *cred, gid_t rgid, gid_t egid)
 {
 
 	return (0);
 }
 
 static int
-stub_check_proc_setresuid(struct ucred *cred, uid_t ruid, uid_t euid,
+stub_proc_check_setresuid(struct ucred *cred, uid_t ruid, uid_t euid,
 	uid_t suid)
 {
 
@@ -954,7 +954,7 @@
 }
 
 static int
-stub_check_proc_setresgid(struct ucred *cred, gid_t rgid, gid_t egid,
+stub_proc_check_setresgid(struct ucred *cred, gid_t rgid, gid_t egid,
 	gid_t sgid)
 {
 
@@ -962,7 +962,7 @@
 }
 
 static int
-stub_check_socket_accept(struct ucred *cred, struct socket *socket,
+stub_socket_check_accept(struct ucred *cred, struct socket *socket,
     struct label *socketlabel)
 {
 
@@ -970,7 +970,7 @@
 }
 
 static int
-stub_check_socket_bind(struct ucred *cred, struct socket *socket,
+stub_socket_check_bind(struct ucred *cred, struct socket *socket,
     struct label *socketlabel, struct sockaddr *sockaddr)
 {
 
@@ -978,7 +978,7 @@
 }
 
 static int
-stub_check_socket_connect(struct ucred *cred, struct socket *socket,
+stub_socket_check_connect(struct ucred *cred, struct socket *socket,
     struct label *socketlabel, struct sockaddr *sockaddr)
 {
 
@@ -986,7 +986,7 @@
 }
 
 static int
-stub_check_socket_create(struct ucred *cred, int domain, int type,
+stub_socket_check_create(struct ucred *cred, int domain, int type,
     int protocol)
 {
 
@@ -994,7 +994,7 @@
 }
 
 static int
-stub_check_socket_deliver(struct socket *so, struct label *socketlabel,
+stub_socket_check_deliver(struct socket *so, struct label *socketlabel,
     struct mbuf *m, struct label *mbuflabel)
 {
 
@@ -1002,7 +1002,7 @@
 }
 
 static int
-stub_check_socket_listen(struct ucred *cred, struct socket *so,
+stub_socket_check_listen(struct ucred *cred, struct socket *so,
     struct label *socketlabel)
 {
 
@@ -1010,7 +1010,7 @@
 }
 
 static int
-stub_check_socket_poll(struct ucred *cred, struct socket *so,
+stub_socket_check_poll(struct ucred *cred, struct socket *so,
     struct label *socketlabel)
 {
 
@@ -1018,7 +1018,7 @@
 }
 
 static int
-stub_check_socket_receive(struct ucred *cred, struct socket *so,
+stub_socket_check_receive(struct ucred *cred, struct socket *so,
     struct label *socketlabel)
 {
 
@@ -1026,14 +1026,14 @@
 }
 
 static int
-stub_check_socket_relabel(struct ucred *cred, struct socket *socket,
+stub_socket_check_relabel(struct ucred *cred, struct socket *socket,
     struct label *socketlabel, struct label *newlabel)
 {
 
 	return (0);
 }
 static int
-stub_check_socket_send(struct ucred *cred, struct socket *so,
+stub_socket_check_send(struct ucred *cred, struct socket *so,
     struct label *socketlabel)
 {
 
@@ -1041,7 +1041,7 @@
 }
 
 static int
-stub_check_socket_stat(struct ucred *cred, struct socket *so,
+stub_socket_check_stat(struct ucred *cred, struct socket *so,
     struct label *socketlabel)
 {
 
@@ -1049,7 +1049,7 @@
 }
 
 static int
-stub_check_socket_visible(struct ucred *cred, struct socket *socket,
+stub_socket_check_visible(struct ucred *cred, struct socket *socket,
    struct label *socketlabel)
 {

>>> TRUNCATED FOR MAIL (1000 lines) <<<


More information about the trustedbsd-cvs mailing list