return (error);
}
+int
+mac_system_check_info(kauth_cred_t cred, const char *info_type)
+{
+ int error;
+
+ if (!mac_system_enforce)
+ return (0);
+
+ MAC_CHECK(system_check_info, cred, info_type);
+
+ return (error);
+}
+
int
mac_system_check_nfsd(kauth_cred_t cred)
{
return (error);
}
+
+int
+mac_system_check_kas_info(kauth_cred_t cred, int selector)
+{
+ int error;
+
+ if (!mac_system_enforce)
+ return (0);
+
+ MAC_CHECK(system_check_kas_info, cred, selector);
+
+ return (error);
+}