mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-03 15:47:35 -04:00
unix: convert errorList and signalList to new format for linux/sparc64
This wasn't converted during CL 110875 Updates golang/go#25134 Change-Id: Iaa579e0c173d3e27cf9f7e20072752277089beb1 Reviewed-on: https://go-review.googlesource.com/c/139977 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
f81de40a84
commit
4497e2df6f
+179
-171
@@ -1,10 +1,10 @@
|
|||||||
// mkerrors.sh -m64
|
// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
||||||
// Code generated by the command above; DO NOT EDIT.
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
||||||
|
|
||||||
// +build sparc64,linux
|
// +build sparc64,linux
|
||||||
|
|
||||||
// Created by cgo -godefs - DO NOT EDIT
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||||
// cgo -godefs -- -m64 _const.go
|
// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
|
||||||
|
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
@@ -1969,174 +1969,182 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Error table
|
// Error table
|
||||||
var errors = [...]string{
|
var errorList = [...]struct {
|
||||||
1: "operation not permitted",
|
num syscall.Errno
|
||||||
2: "no such file or directory",
|
name string
|
||||||
3: "no such process",
|
desc string
|
||||||
4: "interrupted system call",
|
}{
|
||||||
5: "input/output error",
|
{1, "EPERM", "operation not permitted"},
|
||||||
6: "no such device or address",
|
{2, "ENOENT", "no such file or directory"},
|
||||||
7: "argument list too long",
|
{3, "ESRCH", "no such process"},
|
||||||
8: "exec format error",
|
{4, "EINTR", "interrupted system call"},
|
||||||
9: "bad file descriptor",
|
{5, "EIO", "input/output error"},
|
||||||
10: "no child processes",
|
{6, "ENXIO", "no such device or address"},
|
||||||
11: "resource temporarily unavailable",
|
{7, "E2BIG", "argument list too long"},
|
||||||
12: "cannot allocate memory",
|
{8, "ENOEXEC", "exec format error"},
|
||||||
13: "permission denied",
|
{9, "EBADF", "bad file descriptor"},
|
||||||
14: "bad address",
|
{10, "ECHILD", "no child processes"},
|
||||||
15: "block device required",
|
{11, "EAGAIN", "resource temporarily unavailable"},
|
||||||
16: "device or resource busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "invalid cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "no such device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device or resource busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "invalid cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "no such device"},
|
||||||
24: "too many open files",
|
{20, "ENOTDIR", "not a directory"},
|
||||||
25: "inappropriate ioctl for device",
|
{21, "EISDIR", "is a directory"},
|
||||||
26: "text file busy",
|
{22, "EINVAL", "invalid argument"},
|
||||||
27: "file too large",
|
{23, "ENFILE", "too many open files in system"},
|
||||||
28: "no space left on device",
|
{24, "EMFILE", "too many open files"},
|
||||||
29: "illegal seek",
|
{25, "ENOTTY", "inappropriate ioctl for device"},
|
||||||
30: "read-only file system",
|
{26, "ETXTBSY", "text file busy"},
|
||||||
31: "too many links",
|
{27, "EFBIG", "file too large"},
|
||||||
32: "broken pipe",
|
{28, "ENOSPC", "no space left on device"},
|
||||||
33: "numerical argument out of domain",
|
{29, "ESPIPE", "illegal seek"},
|
||||||
34: "numerical result out of range",
|
{30, "EROFS", "read-only file system"},
|
||||||
36: "operation now in progress",
|
{31, "EMLINK", "too many links"},
|
||||||
37: "operation already in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
38: "socket operation on non-socket",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
39: "destination address required",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
40: "message too long",
|
{36, "EINPROGRESS", "operation now in progress"},
|
||||||
41: "protocol wrong type for socket",
|
{37, "EALREADY", "operation already in progress"},
|
||||||
42: "protocol not available",
|
{38, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
43: "protocol not supported",
|
{39, "EDESTADDRREQ", "destination address required"},
|
||||||
44: "socket type not supported",
|
{40, "EMSGSIZE", "message too long"},
|
||||||
45: "operation not supported",
|
{41, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
46: "protocol family not supported",
|
{42, "ENOPROTOOPT", "protocol not available"},
|
||||||
47: "address family not supported by protocol",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "cannot assign requested address",
|
{45, "ENOTSUP", "operation not supported"},
|
||||||
50: "network is down",
|
{46, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
51: "network is unreachable",
|
{47, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "transport endpoint is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "transport endpoint is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "cannot send after transport endpoint shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: cannot splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "connection timed out",
|
{56, "EISCONN", "transport endpoint is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "connection timed out"},
|
||||||
65: "no route to host",
|
{61, "ECONNREFUSED", "connection refused"},
|
||||||
66: "directory not empty",
|
{62, "ELOOP", "too many levels of symbolic links"},
|
||||||
67: "too many processes",
|
{63, "ENAMETOOLONG", "file name too long"},
|
||||||
68: "too many users",
|
{64, "EHOSTDOWN", "host is down"},
|
||||||
69: "disk quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "object is remote",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "device not a stream",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "timer expired",
|
{69, "EDQUOT", "disk quota exceeded"},
|
||||||
74: "out of streams resources",
|
{70, "ESTALE", "stale file handle"},
|
||||||
75: "no message of desired type",
|
{71, "EREMOTE", "object is remote"},
|
||||||
76: "bad message",
|
{72, "ENOSTR", "device not a stream"},
|
||||||
77: "identifier removed",
|
{73, "ETIME", "timer expired"},
|
||||||
78: "resource deadlock avoided",
|
{74, "ENOSR", "out of streams resources"},
|
||||||
79: "no locks available",
|
{75, "ENOMSG", "no message of desired type"},
|
||||||
80: "machine is not on the network",
|
{76, "EBADMSG", "bad message"},
|
||||||
81: "unknown error 81",
|
{77, "EIDRM", "identifier removed"},
|
||||||
82: "link has been severed",
|
{78, "EDEADLK", "resource deadlock avoided"},
|
||||||
83: "advertise error",
|
{79, "ENOLCK", "no locks available"},
|
||||||
84: "srmount error",
|
{80, "ENONET", "machine is not on the network"},
|
||||||
85: "communication error on send",
|
{81, "ERREMOTE", "unknown error 81"},
|
||||||
86: "protocol error",
|
{82, "ENOLINK", "link has been severed"},
|
||||||
87: "multihop attempted",
|
{83, "EADV", "advertise error"},
|
||||||
88: "RFS specific error",
|
{84, "ESRMNT", "srmount error"},
|
||||||
89: "remote address changed",
|
{85, "ECOMM", "communication error on send"},
|
||||||
90: "function not implemented",
|
{86, "EPROTO", "protocol error"},
|
||||||
91: "streams pipe error",
|
{87, "EMULTIHOP", "multihop attempted"},
|
||||||
92: "value too large for defined data type",
|
{88, "EDOTDOT", "RFS specific error"},
|
||||||
93: "file descriptor in bad state",
|
{89, "EREMCHG", "remote address changed"},
|
||||||
94: "channel number out of range",
|
{90, "ENOSYS", "function not implemented"},
|
||||||
95: "level 2 not synchronized",
|
{91, "ESTRPIPE", "streams pipe error"},
|
||||||
96: "level 3 halted",
|
{92, "EOVERFLOW", "value too large for defined data type"},
|
||||||
97: "level 3 reset",
|
{93, "EBADFD", "file descriptor in bad state"},
|
||||||
98: "link number out of range",
|
{94, "ECHRNG", "channel number out of range"},
|
||||||
99: "protocol driver not attached",
|
{95, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
100: "no CSI structure available",
|
{96, "EL3HLT", "level 3 halted"},
|
||||||
101: "level 2 halted",
|
{97, "EL3RST", "level 3 reset"},
|
||||||
102: "invalid exchange",
|
{98, "ELNRNG", "link number out of range"},
|
||||||
103: "invalid request descriptor",
|
{99, "EUNATCH", "protocol driver not attached"},
|
||||||
104: "exchange full",
|
{100, "ENOCSI", "no CSI structure available"},
|
||||||
105: "no anode",
|
{101, "EL2HLT", "level 2 halted"},
|
||||||
106: "invalid request code",
|
{102, "EBADE", "invalid exchange"},
|
||||||
107: "invalid slot",
|
{103, "EBADR", "invalid request descriptor"},
|
||||||
108: "file locking deadlock error",
|
{104, "EXFULL", "exchange full"},
|
||||||
109: "bad font file format",
|
{105, "ENOANO", "no anode"},
|
||||||
110: "cannot exec a shared library directly",
|
{106, "EBADRQC", "invalid request code"},
|
||||||
111: "no data available",
|
{107, "EBADSLT", "invalid slot"},
|
||||||
112: "accessing a corrupted shared library",
|
{108, "EDEADLOCK", "file locking deadlock error"},
|
||||||
113: "package not installed",
|
{109, "EBFONT", "bad font file format"},
|
||||||
114: "can not access a needed shared library",
|
{110, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
115: "name not unique on network",
|
{111, "ENODATA", "no data available"},
|
||||||
116: "interrupted system call should be restarted",
|
{112, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
117: "structure needs cleaning",
|
{113, "ENOPKG", "package not installed"},
|
||||||
118: "not a XENIX named type file",
|
{114, "ELIBACC", "can not access a needed shared library"},
|
||||||
119: "no XENIX semaphores available",
|
{115, "ENOTUNIQ", "name not unique on network"},
|
||||||
120: "is a named type file",
|
{116, "ERESTART", "interrupted system call should be restarted"},
|
||||||
121: "remote I/O error",
|
{117, "EUCLEAN", "structure needs cleaning"},
|
||||||
122: "invalid or incomplete multibyte or wide character",
|
{118, "ENOTNAM", "not a XENIX named type file"},
|
||||||
123: "attempting to link in too many shared libraries",
|
{119, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
124: ".lib section in a.out corrupted",
|
{120, "EISNAM", "is a named type file"},
|
||||||
125: "no medium found",
|
{121, "EREMOTEIO", "remote I/O error"},
|
||||||
126: "wrong medium type",
|
{122, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
127: "operation canceled",
|
{123, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
128: "required key not available",
|
{124, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
129: "key has expired",
|
{125, "ENOMEDIUM", "no medium found"},
|
||||||
130: "key has been revoked",
|
{126, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
131: "key was rejected by service",
|
{127, "ECANCELED", "operation canceled"},
|
||||||
132: "owner died",
|
{128, "ENOKEY", "required key not available"},
|
||||||
133: "state not recoverable",
|
{129, "EKEYEXPIRED", "key has expired"},
|
||||||
134: "operation not possible due to RF-kill",
|
{130, "EKEYREVOKED", "key has been revoked"},
|
||||||
135: "memory page has hardware error",
|
{131, "EKEYREJECTED", "key was rejected by service"},
|
||||||
|
{132, "EOWNERDEAD", "owner died"},
|
||||||
|
{133, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{134, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{135, "EHWPOISON", "memory page has hardware error"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// Signal table
|
// Signal table
|
||||||
var signals = [...]string{
|
var signalList = [...]struct {
|
||||||
1: "hangup",
|
num syscall.Signal
|
||||||
2: "interrupt",
|
name string
|
||||||
3: "quit",
|
desc string
|
||||||
4: "illegal instruction",
|
}{
|
||||||
5: "trace/breakpoint trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "aborted",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/breakpoint trap"},
|
||||||
10: "bus error",
|
{6, "SIGABRT", "aborted"},
|
||||||
11: "segmentation fault",
|
{7, "SIGEMT", "EMT trap"},
|
||||||
12: "bad system call",
|
{8, "SIGFPE", "floating point exception"},
|
||||||
13: "broken pipe",
|
{9, "SIGKILL", "killed"},
|
||||||
14: "alarm clock",
|
{10, "SIGBUS", "bus error"},
|
||||||
15: "terminated",
|
{11, "SIGSEGV", "segmentation fault"},
|
||||||
16: "urgent I/O condition",
|
{12, "SIGSYS", "bad system call"},
|
||||||
17: "stopped (signal)",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "stopped",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "continued",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "child exited",
|
{16, "SIGURG", "urgent I/O condition"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGSTOP", "stopped (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "stopped"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "CPU time limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "file size limit exceeded",
|
{21, "SIGTTIN", "stopped (tty input)"},
|
||||||
26: "virtual timer expired",
|
{22, "SIGTTOU", "stopped (tty output)"},
|
||||||
27: "profiling timer expired",
|
{23, "SIGIO", "I/O possible"},
|
||||||
28: "window changed",
|
{24, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
29: "resource lost",
|
{25, "SIGXFSZ", "file size limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
|
{28, "SIGWINCH", "window changed"},
|
||||||
|
{29, "SIGLOST", "power failure"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user