]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/mach/err_libkern.sub
xnu-6153.81.5.tar.gz
[apple/xnu.git] / libsyscall / mach / err_libkern.sub
index a9a9c27c2ed12e5f4d46f52d87f611d8535f4fad..f865b9d7c87996f5b00c6837e269763ae189e337 100644 (file)
 
 /* These codes are specified in decimal in OSReturn.h.
  */
-static const char * err_codes_libkern_common[] = {
+static const char * const err_codes_libkern_common[] = {
        NO_SUCH_ERROR,
        "(libkern/common) general/unspecified error",    /* 1 */
 };
 
 /* These codes are specified in decimal in OSReturn.h.
  */
-static const char * err_codes_libkern_metaclass[] = {
+static const char * const err_codes_libkern_metaclass[] = {
        NO_SUCH_ERROR,
        "(libkern/metaclass) runtime internal error",                                       /* 1 */
        "(libkern/metaclass) class has instances",                                          /* 2 */
@@ -58,7 +58,7 @@ static const char * err_codes_libkern_metaclass[] = {
 
 /* These codes are specified in hexadecimal in OSKextLib.h.
  */
-static const char * err_codes_libkern_kext[] = {
+static const char * const err_codes_libkern_kext[] = {
        NO_SUCH_ERROR,
        "(libkern/kext) internal error",                                      /* 0x1 */
        "(libkern/kext) allocation failure",                                  /* 0x2 */
@@ -89,6 +89,7 @@ static const char * err_codes_libkern_kext[] = {
        "(libkern/kext) kext is in use or retained (cannot unload)",          /* 0x18 */
        "(libkern/kext) kext request timed out",                              /* 0x19 */
        "(libkern/kext) kext is stopping and cannot issue requests",          /* 0x1a */
+       "(libkern/kext) system policy prevents loading",                      /* 0x1b */
 };
 
 /* libkern is err_system(0x37) */