* @APPLE_OSREFERENCE_LICENSE_HEADER_END@
*/
+#include <sys/param.h>
#include <mac.h>
+#include <security/audit/audit.h>
#if !CONFIG_MACF
/*
* XXX stubs until we fix <rdar://problem/4607887>
*/
+int mac_check_iokit_open(void)
+{
+ return 0;
+}
+int mac_check_iokit_set_properties(void)
+{
+ return 0;
+}
+int mac_check_iokit_hid_control(void)
+{
+ return 0;
+}
int mac_check_ipc_method(void)
{
return 0;
{
return 0;
}
+int mac_check_system_chud(void)
+{
+ return 0;
+}
int mac_check_system_nfsd(void)
{
return 0;
{
return 0;
}
+int mac_check_vnode_searchfs(void)
+{
+ return 0;
+}
int mac_check_vnode_select(void)
{
return 0;
{
return 0;
}
-int kau_will_audit(void)
-{
- return 0;
-}
int mac_kalloc(void)
{
return 0;
{
return 0;
}
+int mac_proc_check_suspend_resume(void)
+{
+ return 0;
+}
int mac_set_enforce_proc(void)
{
return 0;
}
#endif /* CONFIG_MACF */
+
+#if !CONFIG_AUDIT
+int kau_will_audit(void)
+{
+ return 0;
+}
+#endif