PERFORCE change 111485 for review
Todd Miller
millert at FreeBSD.org
Mon Dec 11 14:15:32 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=111485
Change 111485 by millert at millert_g5tower on 2006/12/11 21:40:34
mac_iokit_check_device() needs to be in mac_framework too.
While there, fix its prototype.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac.h#11 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_framework.h#26 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac.h#11 (text+ko) ====
@@ -118,7 +118,7 @@
* I/O Kit device access control.
* Note that this routine is called from a C++ I/O Kit driver.
*/
-int mac_iokit_check_device(char *devtype, struct module_data *mdata);
+int mac_iokit_check_device(char *devtype, struct mac_module_data *mdata);
__END_DECLS
#endif
==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_framework.h#26 (text+ko) ====
@@ -62,6 +62,7 @@
struct ifnet;
struct lctx;
struct mac;
+struct mac_module_data;
struct mount;
struct pseminfo;
struct pshminfo;
@@ -145,6 +146,7 @@
void mac_file_label_associate(struct ucred *cred, struct fileglob *fg);
void mac_file_label_destroy(struct fileglob *fg);
void mac_file_label_init(struct fileglob *fg);
+int mac_iokit_check_device(char *devtype, struct mac_module_data *mdata);
int mac_lctx_check_label_update(struct lctx *l, struct label *newlabel);
struct label *mac_lctx_label_alloc(void);
void mac_lctx_label_free(struct label *label);
More information about the trustedbsd-cvs
mailing list