]> git.saurik.com Git - apple/xnu.git/blobdiff - security/mac_system.c
xnu-2050.7.9.tar.gz
[apple/xnu.git] / security / mac_system.c
index 8089caac842809cc53b8d41e5d335729e772af89..f3de4ca13460c9a50cf222868a861c8e92e831f3 100644 (file)
@@ -192,3 +192,16 @@ mac_system_check_sysctl(kauth_cred_t cred, int *name, u_int namelen,
 
        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);
+}