PERFORCE change 15389 for review
Robert Watson
rwatson at freebsd.org
Thu Aug 1 16:56:43 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15389
Change 15389 by rwatson at rwatson_paprika on 2002/08/01 09:56:40
Make macop_t explicitly const, and use macop_t in the
entry point definition structure. This should eliminate the
hundreds of warnings associated with MAC operation vector
arrays in modules.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/sys/mac_policy.h#104 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/sys/mac_policy.h#104 (text+ko) ====
@@ -326,7 +326,7 @@
struct label *label, int op);
};
-typedef void *macop_t;
+typedef const void *macop_t;
enum mac_op_constant {
MAC_OP_LAST,
@@ -445,7 +445,7 @@
struct mac_policy_op_entry {
enum mac_op_constant mpe_constant; /* what this hook implements */
- void *mpe_function; /* hook's implementation */
+ macop_t mpe_function; /* hook's implementation */
};
struct mac_policy_conf {
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list