Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2006 21:41:20 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 111485 for review
Message-ID:  <200612112141.kBBLfKuU096794@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=111485

Change 111485 by millert@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612112141.kBBLfKuU096794>