PERFORCE change 92980 for review

Robert Watson rwatson at FreeBSD.org
Wed Mar 8 13:00:21 PST 2006


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

Change 92980 by rwatson at rwatson_peppercorn on 2006/03/08 20:57:21

	Minor style cleanups.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/sys/sys/mac.h#22 edit
.. //depot/projects/trustedbsd/sebsd/sys/sys/mac_policy.h#17 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/sys/sys/mac.h#22 (text+ko) ====

@@ -308,7 +308,7 @@
 
 /* Access control checks. */
 int	mac_check_bpfdesc_receive(struct bpf_d *bpf_d, struct ifnet *ifnet);
-int     mac_check_cap(struct ucred *cred, cap_value_t capv);
+int	mac_check_cap(struct ucred *cred, cap_value_t capv);
 int	mac_check_cred_visible(struct ucred *u1, struct ucred *u2);
 int	mac_check_ifnet_transmit(struct ifnet *ifnet, struct mbuf *m);
 int	mac_check_inpcb_deliver(struct inpcb *inp, struct mbuf *m);
@@ -361,9 +361,9 @@
 int	mac_check_kld_stat(struct ucred *cred);
 int	mac_check_kld_unload(struct ucred *cred);
 int	mac_check_mount(struct ucred *cred, struct vnode *dir, const char *vfc_name,
-            struct label *mount_arg_label);
+	    struct label *mount_arg_label);
 int	mac_check_remount(struct ucred *cred, struct mount *mp,
-            struct label *mount_arg_label);
+	    struct label *mount_arg_label);
 int	mac_check_umount(struct ucred *cred, struct mount *mp);
 int	mac_check_mount_stat(struct ucred *cred, struct mount *mp);
 int	mac_check_pipe_ioctl(struct ucred *cred, struct pipepair *pp,

==== //depot/projects/trustedbsd/sebsd/sys/sys/mac_policy.h#17 (text+ko) ====

@@ -360,9 +360,9 @@
 	int	(*mpo_check_bpfdesc_receive)(struct bpf_d *bpf_d,
 		    struct label *bpflabel, struct ifnet *ifnet,
 		    struct label *ifnetlabel);
-	int     (*mpo_check_cap) (struct ucred *ucred, cap_value_t capv);
+	int	(*mpo_check_cap) (struct ucred *ucred, cap_value_t capv);
 	int	(*mpo_check_cred_relabel)(struct ucred *cred,
-	            struct label *newlabel);
+		    struct label *newlabel);
 	int	(*mpo_check_cred_visible)(struct ucred *u1, struct ucred *u2);
 	int	(*mpo_check_file_create)(struct ucred *cred);
 	int	(*mpo_check_file_dup)(struct ucred *cred, struct file *fp,
@@ -441,7 +441,7 @@
 		    struct label *vlabel);
 	int	(*mpo_check_kld_stat)(struct ucred *cred);
 	int	(*mpo_check_kld_unload)(struct ucred *cred);
-	int	(*mpo_check_mount)(struct ucred *cred, struct vnode *dir, 
+	int	(*mpo_check_mount)(struct ucred *cred, struct vnode *dir,
 		    struct label *dirlabel, const char *vfc_name,
 		    struct label *mount_arg_label);
 	int	(*mpo_check_remount)(struct ucred *cred, struct mount *mp,


More information about the trustedbsd-cvs mailing list