]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/mach/err_server.sub
xnu-6153.101.6.tar.gz
[apple/xnu.git] / libsyscall / mach / err_server.sub
index acac59a0ee68d179da79e43c424f8d25c83496f2..3fed18fe15c41bcc6a5ee29acbe081c91dbaa675 100644 (file)
  *     Definitions of Servers error strings
  */
 
-static const char * err_codes_netname[] = {                    /* 0 */
+static const char * const err_codes_netname[] = {                      /* 0 */
                "(server/netname) name is not yours",
                "(server/netname) name not checked in",
                "(server/netname) no such host",
                "(server/netname) host not found",
 };
-static const char * err_codes_env_mgr[] = {                    /* 1 */
+static const char * const err_codes_env_mgr[] = {                      /* 1 */
                NO_SUCH_ERROR,
                "(server/env_mgr) variable not found",
                "(server/env_mgr) wrong type of variable",
@@ -52,23 +52,23 @@ static const char * err_codes_env_mgr[] = {                 /* 1 */
                "(server/env_mgr) port table full",
                "(server/env_mgr) attempting to enter a null port ",
 };
-static const char * err_codes_execd[] = {                      /* 2 */
+static const char * const err_codes_execd[] = {                        /* 2 */
                NO_SUCH_ERROR,
                "(server/execd) could not find file to run",
                "(server/execd) userid or password incorrect",
                "(server/execd) fork failed",
 };
-static const char * err_codes_netmemory[] = {                  /* 3 */
+static const char * const err_codes_netmemory[] = {                    /* 3 */
                "(server/netmemory) successful",
                "(server/netmemory) invalid argument",
                "(server/netmemory) resource shortage",
 };
-static const char * err_codes_ufs[] = {                                /* 4 */
+static const char * const err_codes_ufs[] = {                          /* 4 */
                NO_SUCH_ERROR,
 /* XXX         "(server/ufs) invalid port", */
 };
 
-static const char * err_codes_task_master[] = {                        /* 5 */
+static const char * const err_codes_task_master[] = {                  /* 5 */
                "(server/task_master) GENERIC ERROR",
                "(server/task_master) invalid tm_task port",
                "(server/task_master) invalid task id",
@@ -77,7 +77,7 @@ static const char * err_codes_task_master[] = {                       /* 5 */
                "(server/task_master) invalid action",
 };
 
-static const char * err_codes_ns[] = {                         /* 6 */
+static const char * const err_codes_ns[] = {                           /* 6 */
                "(server/ns) GENERIC ERROR",
                "(server/ns) invalid handle",
                "(server/ns) name not found",
@@ -98,7 +98,7 @@ static const char * err_codes_ns[] = {                                /* 6 */
                "(server/ns) entry not reserved",
 };
 
-static const char      * err_codes_io[] = {                    /* 7 */
+static const char * const err_codes_io[] = {                   /* 7 */
                "(server/io) GENERIC ERROR",
                "(server/io) invalid offset",
                "(server/io) invalid size",
@@ -107,7 +107,7 @@ static const char   * err_codes_io[] = {                    /* 7 */
                "(server/io) operation rejected under current I/O strategy",
 };
 
-static const char * err_codes_auth[] = {                       /* 8 */
+static const char * const err_codes_auth[] = {                 /* 8 */
                "(server/auth) GENERIC ERROR",
                "(server/auth) bad private port",
                "(server/auth) bad name",
@@ -119,7 +119,7 @@ static const char * err_codes_auth[] = {                    /* 8 */
                "(server/auth) not secondary",
 };
 
-static const char * err_codes_us[] = {                         /* 9 */
+static const char * const err_codes_us[] = {                           /* 9 */
                "(server/us) GENERIC ERROR",
                "(server/us) unknown error",
                "(server/us) object not found",
@@ -146,7 +146,7 @@ static const char * err_codes_us[] = {                              /* 9 */
                "(server/us) internal error",
 };
 
-static const char * err_codes_sunrpc[] = {                     /* 10 */
+static const char * const err_codes_sunrpc[] = {                       /* 10 */
                "(server/sunrpc) GENERIC ERROR",
                "(server/sunrpc) cannot encode arguments",
                "(server/sunrpc) cannot decode results",
@@ -167,7 +167,7 @@ static const char * err_codes_sunrpc[] = {                  /* 10 */
                "(server/sunrpc) unknown protocol",
 };
 
-static const char      * err_codes_machobj[] = {               /* 11 */
+static const char * const err_codes_machobj[] = {              /* 11 */
                "(server/object system) GENERIC ERROR",
                "(server/object system) object not found",
                "(server/object system) no such operation",
@@ -176,7 +176,7 @@ static const char   * err_codes_machobj[] = {               /* 11 */
                "(server/object system) bad ipc message format",
 };
 
-static const char      * err_codes_loader[] = {                /* 12 */
+static const char * const err_codes_loader[] = {               /* 12 */
                "(server/loader) GENERIC ERROR",
                "(server/loader) object file not relocated",
                "(server/loader) unknown file type",
@@ -186,7 +186,7 @@ static const char   * err_codes_loader[] = {                /* 12 */
 };
 
 
-static const char      * err_codes_exception[] = {             /* 13 */
+static const char * const err_codes_exception[] = {            /* 13 */
        "(server/exception) GENERIC ERROR",
        "(server/exception) invalid access",
        "(server/exception) invalid instruction",
@@ -196,7 +196,7 @@ static const char   * err_codes_exception[] = {             /* 13 */
        "(server/exception) breakpoint exception",
 };
 
-static const char      * err_codes_ux_signal[] = {             /* 14 */
+static const char * const err_codes_ux_signal[] = {            /* 14 */
        "(server/unix-signal) GENERIC ERROR",
        "(server/unix-signal) hangup",
        "(server/unix-signal) interrupt",
@@ -229,7 +229,7 @@ static const char   * err_codes_ux_signal[] = {             /* 14 */
        "(server/unix-signal) user-defined signal 2",
 };
 
-static const char      * err_codes_xkernel[] = {               /* 15 */
+static const char * const err_codes_xkernel[] = {              /* 15 */
        "(server/xkernel) GENERIC ERROR",
        "(server/xkernel) map full",
        "(server/xkernel) inconsistent bind",