PERFORCE change 105356 for review

Todd Miller millert at FreeBSD.org
Wed Aug 30 20:43:27 UTC 2006


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

Change 105356 by millert at millert_g4tower on 2006/08/30 20:37:11

	Move mac_init_bsd() proto to mac.h so bsd_init.c can see it.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/bsd_init.c#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac.h#5 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_internal.h#4 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/bsd_init.c#2 (text+ko) ====

@@ -337,11 +337,7 @@
 	/*
 	 * Initialize the MAC Framework
 	 */
-	{
-	    extern mac_init_bsd(void);
-
-	    mac_init_bsd();
-	}
+	mac_init_bsd();
 #endif /* MAC */
 
 	/*

==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac.h#5 (text+ko) ====

@@ -140,6 +140,11 @@
 struct pipe;
 
 /*
+ * Framework initialization.
+ */
+void mac_init_bsd(void);
+
+/*
  * Label operations.
  */
 void	mac_init_cred(struct ucred *);

==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_internal.h#4 (text+ko) ====

@@ -538,7 +538,6 @@
 struct __mac_set_file_args;
 struct __mac_syscall_args;
 
-void mac_init_bsd(void);
 void mac_policy_addto_labellist(struct mac_policy_conf *, int);
 void mac_policy_removefrom_labellist(struct mac_policy_conf *);
 


More information about the trustedbsd-cvs mailing list