Date: Wed, 30 Aug 2006 20:37:56 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 105356 for review Message-ID: <200608302037.k7UKbuJt023548@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105356 Change 105356 by millert@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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608302037.k7UKbuJt023548>