mirror of
https://github.com/rwinkhart/sys.git
synced 2026-10-30 12:58:15 -04:00
unix: add ErrnoName and SignalName
Add ErrnoName and SignalName to get errno and signal name strings from syscall.Errno and syscall.Signal values, respectively. This repurposes the errors and signals vars (because they are not used within x/sys/unix currently) and turns them into slices of struct, containing errno/signal number, name and description. ErrnoName and SignalName can then be trivially implemented using sort.Search. Renaming errors to errorList additionaly allows to avoid package aliases for the errors package. Fixes golang/go#25134 Change-Id: Ie195872793f44c437f0f175ccfaa13a2546338c5 Reviewed-on: https://go-review.googlesource.com/110875 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
1 parent
78d5f264b4
commit
6f686a352d
31 files changed
+4149
-3866
No files matched your search
+15
-15
@@ -7,7 +7,7 @@
|
|||||||
package unix
|
package unix
|
||||||
|
|
||||||
import (
|
import (
|
||||||
errorspkg "errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -60,26 +60,26 @@ func CapRightsSet(rights *CapRights, setrights []uint64) error {
|
|||||||
|
|
||||||
n := caparsize(rights)
|
n := caparsize(rights)
|
||||||
if n < capArSizeMin || n > capArSizeMax {
|
if n < capArSizeMin || n > capArSizeMax {
|
||||||
return errorspkg.New("bad rights size")
|
return errors.New("bad rights size")
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, right := range setrights {
|
for _, right := range setrights {
|
||||||
if caprver(right) != CAP_RIGHTS_VERSION_00 {
|
if caprver(right) != CAP_RIGHTS_VERSION_00 {
|
||||||
return errorspkg.New("bad right version")
|
return errors.New("bad right version")
|
||||||
}
|
}
|
||||||
i, err := rightToIndex(right)
|
i, err := rightToIndex(right)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if i >= n {
|
if i >= n {
|
||||||
return errorspkg.New("index overflow")
|
return errors.New("index overflow")
|
||||||
}
|
}
|
||||||
if capidxbit(rights.Rights[i]) != capidxbit(right) {
|
if capidxbit(rights.Rights[i]) != capidxbit(right) {
|
||||||
return errorspkg.New("index mismatch")
|
return errors.New("index mismatch")
|
||||||
}
|
}
|
||||||
rights.Rights[i] |= right
|
rights.Rights[i] |= right
|
||||||
if capidxbit(rights.Rights[i]) != capidxbit(right) {
|
if capidxbit(rights.Rights[i]) != capidxbit(right) {
|
||||||
return errorspkg.New("index mismatch (after assign)")
|
return errors.New("index mismatch (after assign)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -95,26 +95,26 @@ func CapRightsClear(rights *CapRights, clearrights []uint64) error {
|
|||||||
|
|
||||||
n := caparsize(rights)
|
n := caparsize(rights)
|
||||||
if n < capArSizeMin || n > capArSizeMax {
|
if n < capArSizeMin || n > capArSizeMax {
|
||||||
return errorspkg.New("bad rights size")
|
return errors.New("bad rights size")
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, right := range clearrights {
|
for _, right := range clearrights {
|
||||||
if caprver(right) != CAP_RIGHTS_VERSION_00 {
|
if caprver(right) != CAP_RIGHTS_VERSION_00 {
|
||||||
return errorspkg.New("bad right version")
|
return errors.New("bad right version")
|
||||||
}
|
}
|
||||||
i, err := rightToIndex(right)
|
i, err := rightToIndex(right)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if i >= n {
|
if i >= n {
|
||||||
return errorspkg.New("index overflow")
|
return errors.New("index overflow")
|
||||||
}
|
}
|
||||||
if capidxbit(rights.Rights[i]) != capidxbit(right) {
|
if capidxbit(rights.Rights[i]) != capidxbit(right) {
|
||||||
return errorspkg.New("index mismatch")
|
return errors.New("index mismatch")
|
||||||
}
|
}
|
||||||
rights.Rights[i] &= ^(right & 0x01FFFFFFFFFFFFFF)
|
rights.Rights[i] &= ^(right & 0x01FFFFFFFFFFFFFF)
|
||||||
if capidxbit(rights.Rights[i]) != capidxbit(right) {
|
if capidxbit(rights.Rights[i]) != capidxbit(right) {
|
||||||
return errorspkg.New("index mismatch (after assign)")
|
return errors.New("index mismatch (after assign)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -130,22 +130,22 @@ func CapRightsIsSet(rights *CapRights, setrights []uint64) (bool, error) {
|
|||||||
|
|
||||||
n := caparsize(rights)
|
n := caparsize(rights)
|
||||||
if n < capArSizeMin || n > capArSizeMax {
|
if n < capArSizeMin || n > capArSizeMax {
|
||||||
return false, errorspkg.New("bad rights size")
|
return false, errors.New("bad rights size")
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, right := range setrights {
|
for _, right := range setrights {
|
||||||
if caprver(right) != CAP_RIGHTS_VERSION_00 {
|
if caprver(right) != CAP_RIGHTS_VERSION_00 {
|
||||||
return false, errorspkg.New("bad right version")
|
return false, errors.New("bad right version")
|
||||||
}
|
}
|
||||||
i, err := rightToIndex(right)
|
i, err := rightToIndex(right)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
if i >= n {
|
if i >= n {
|
||||||
return false, errorspkg.New("index overflow")
|
return false, errors.New("index overflow")
|
||||||
}
|
}
|
||||||
if capidxbit(rights.Rights[i]) != capidxbit(right) {
|
if capidxbit(rights.Rights[i]) != capidxbit(right) {
|
||||||
return false, errorspkg.New("index mismatch")
|
return false, errors.New("index mismatch")
|
||||||
}
|
}
|
||||||
if (rights.Rights[i] & right) != right {
|
if (rights.Rights[i] & right) != right {
|
||||||
return false, nil
|
return false, nil
|
||||||
|
|||||||
+29
-16
@@ -507,21 +507,26 @@ echo ')'
|
|||||||
|
|
||||||
enum { A = 'A', Z = 'Z', a = 'a', z = 'z' }; // avoid need for single quotes below
|
enum { A = 'A', Z = 'Z', a = 'a', z = 'z' }; // avoid need for single quotes below
|
||||||
|
|
||||||
int errors[] = {
|
struct tuple {
|
||||||
|
int num;
|
||||||
|
const char *name;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct tuple errors[] = {
|
||||||
"
|
"
|
||||||
for i in $errors
|
for i in $errors
|
||||||
do
|
do
|
||||||
echo -E ' '$i,
|
echo -E ' {'$i', "'$i'" },'
|
||||||
done
|
done
|
||||||
|
|
||||||
echo -E "
|
echo -E "
|
||||||
};
|
};
|
||||||
|
|
||||||
int signals[] = {
|
struct tuple signals[] = {
|
||||||
"
|
"
|
||||||
for i in $signals
|
for i in $signals
|
||||||
do
|
do
|
||||||
echo -E ' '$i,
|
echo -E ' {'$i', "'$i'" },'
|
||||||
done
|
done
|
||||||
|
|
||||||
# Use -E because on some systems bash builtin interprets \n itself.
|
# Use -E because on some systems bash builtin interprets \n itself.
|
||||||
@@ -529,9 +534,9 @@ int signals[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static int
|
static int
|
||||||
intcmp(const void *a, const void *b)
|
tuplecmp(const void *a, const void *b)
|
||||||
{
|
{
|
||||||
return *(int*)a - *(int*)b;
|
return ((struct tuple *)a)->num - ((struct tuple *)b)->num;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -541,26 +546,34 @@ main(void)
|
|||||||
char buf[1024], *p;
|
char buf[1024], *p;
|
||||||
|
|
||||||
printf("\n\n// Error table\n");
|
printf("\n\n// Error table\n");
|
||||||
printf("var errors = [...]string {\n");
|
printf("var errorList = [...]struct {\n");
|
||||||
qsort(errors, nelem(errors), sizeof errors[0], intcmp);
|
printf("\tnum syscall.Errno\n");
|
||||||
|
printf("\tname string\n");
|
||||||
|
printf("\tdesc string\n");
|
||||||
|
printf("} {\n");
|
||||||
|
qsort(errors, nelem(errors), sizeof errors[0], tuplecmp);
|
||||||
for(i=0; i<nelem(errors); i++) {
|
for(i=0; i<nelem(errors); i++) {
|
||||||
e = errors[i];
|
e = errors[i].num;
|
||||||
if(i > 0 && errors[i-1] == e)
|
if(i > 0 && errors[i-1].num == e)
|
||||||
continue;
|
continue;
|
||||||
strcpy(buf, strerror(e));
|
strcpy(buf, strerror(e));
|
||||||
// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
|
// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
|
||||||
if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
|
if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
|
||||||
buf[0] += a - A;
|
buf[0] += a - A;
|
||||||
printf("\t%d: \"%s\",\n", e, buf);
|
printf("\t{ %d, \"%s\", \"%s\" },\n", e, errors[i].name, buf);
|
||||||
}
|
}
|
||||||
printf("}\n\n");
|
printf("}\n\n");
|
||||||
|
|
||||||
printf("\n\n// Signal table\n");
|
printf("\n\n// Signal table\n");
|
||||||
printf("var signals = [...]string {\n");
|
printf("var signalList = [...]struct {\n");
|
||||||
qsort(signals, nelem(signals), sizeof signals[0], intcmp);
|
printf("\tnum syscall.Signal\n");
|
||||||
|
printf("\tname string\n");
|
||||||
|
printf("\tdesc string\n");
|
||||||
|
printf("} {\n");
|
||||||
|
qsort(signals, nelem(signals), sizeof signals[0], tuplecmp);
|
||||||
for(i=0; i<nelem(signals); i++) {
|
for(i=0; i<nelem(signals); i++) {
|
||||||
e = signals[i];
|
e = signals[i].num;
|
||||||
if(i > 0 && signals[i-1] == e)
|
if(i > 0 && signals[i-1].num == e)
|
||||||
continue;
|
continue;
|
||||||
strcpy(buf, strsignal(e));
|
strcpy(buf, strsignal(e));
|
||||||
// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
|
// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
|
||||||
@@ -570,7 +583,7 @@ main(void)
|
|||||||
p = strrchr(buf, ":"[0]);
|
p = strrchr(buf, ":"[0]);
|
||||||
if(p)
|
if(p)
|
||||||
*p = '\0';
|
*p = '\0';
|
||||||
printf("\t%d: \"%s\",\n", e, buf);
|
printf("\t{ %d, \"%s\", \"%s\" },\n", e, signals[i].name, buf);
|
||||||
}
|
}
|
||||||
printf("}\n\n");
|
printf("}\n\n");
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
package unix
|
package unix
|
||||||
|
|
||||||
import (
|
import (
|
||||||
errorspkg "errors"
|
"errors"
|
||||||
"syscall"
|
"syscall"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
@@ -98,7 +98,7 @@ type attrList struct {
|
|||||||
|
|
||||||
func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (attrs [][]byte, err error) {
|
func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (attrs [][]byte, err error) {
|
||||||
if len(attrBuf) < 4 {
|
if len(attrBuf) < 4 {
|
||||||
return nil, errorspkg.New("attrBuf too small")
|
return nil, errors.New("attrBuf too small")
|
||||||
}
|
}
|
||||||
attrList.bitmapCount = attrBitMapCount
|
attrList.bitmapCount = attrBitMapCount
|
||||||
|
|
||||||
@@ -134,12 +134,12 @@ func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (
|
|||||||
for i := uint32(0); int(i) < len(dat); {
|
for i := uint32(0); int(i) < len(dat); {
|
||||||
header := dat[i:]
|
header := dat[i:]
|
||||||
if len(header) < 8 {
|
if len(header) < 8 {
|
||||||
return attrs, errorspkg.New("truncated attribute header")
|
return attrs, errors.New("truncated attribute header")
|
||||||
}
|
}
|
||||||
datOff := *(*int32)(unsafe.Pointer(&header[0]))
|
datOff := *(*int32)(unsafe.Pointer(&header[0]))
|
||||||
attrLen := *(*uint32)(unsafe.Pointer(&header[4]))
|
attrLen := *(*uint32)(unsafe.Pointer(&header[4]))
|
||||||
if datOff < 0 || uint32(datOff)+attrLen > uint32(len(dat)) {
|
if datOff < 0 || uint32(datOff)+attrLen > uint32(len(dat)) {
|
||||||
return attrs, errorspkg.New("truncated results; attrBuf too small")
|
return attrs, errors.New("truncated results; attrBuf too small")
|
||||||
}
|
}
|
||||||
end := uint32(datOff) + attrLen
|
end := uint32(datOff) + attrLen
|
||||||
attrs = append(attrs, dat[datOff:end])
|
attrs = append(attrs, dat[datOff:end])
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ package unix
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
"sort"
|
||||||
"sync"
|
"sync"
|
||||||
"syscall"
|
"syscall"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
@@ -51,6 +52,28 @@ func errnoErr(e syscall.Errno) error {
|
|||||||
return e
|
return e
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ErrnoName returns the error name for error number e.
|
||||||
|
func ErrnoName(e syscall.Errno) string {
|
||||||
|
i := sort.Search(len(errorList), func(i int) bool {
|
||||||
|
return errorList[i].num >= e
|
||||||
|
})
|
||||||
|
if i < len(errorList) && errorList[i].num == e {
|
||||||
|
return errorList[i].name
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
// SignalName returns the signal name for signal number s.
|
||||||
|
func SignalName(s syscall.Signal) string {
|
||||||
|
i := sort.Search(len(signalList), func(i int) bool {
|
||||||
|
return signalList[i].num >= s
|
||||||
|
})
|
||||||
|
if i < len(signalList) && signalList[i].num == s {
|
||||||
|
return signalList[i].name
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
// clen returns the index of the first NULL byte in n or len(n) if n contains no NULL byte.
|
// clen returns the index of the first NULL byte in n or len(n) if n contains no NULL byte.
|
||||||
func clen(n []byte) int {
|
func clen(n []byte) int {
|
||||||
i := bytes.IndexByte(n, 0)
|
i := bytes.IndexByte(n, 0)
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
"syscall"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -59,6 +60,44 @@ func _() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestErrnoSignalName(t *testing.T) {
|
||||||
|
testErrors := []struct {
|
||||||
|
num syscall.Errno
|
||||||
|
name string
|
||||||
|
}{
|
||||||
|
{syscall.EPERM, "EPERM"},
|
||||||
|
{syscall.EINVAL, "EINVAL"},
|
||||||
|
{syscall.ENOENT, "ENOENT"},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, te := range testErrors {
|
||||||
|
t.Run(fmt.Sprintf("%d/%s", te.num, te.name), func(t *testing.T) {
|
||||||
|
e := unix.ErrnoName(te.num)
|
||||||
|
if e != te.name {
|
||||||
|
t.Errorf("ErrnoName(%d) returned %s, want %s", te.num, e, te.name)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
testSignals := []struct {
|
||||||
|
num syscall.Signal
|
||||||
|
name string
|
||||||
|
}{
|
||||||
|
{syscall.SIGHUP, "SIGHUP"},
|
||||||
|
{syscall.SIGPIPE, "SIGPIPE"},
|
||||||
|
{syscall.SIGSEGV, "SIGSEGV"},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, ts := range testSignals {
|
||||||
|
t.Run(fmt.Sprintf("%d/%s", ts.num, ts.name), func(t *testing.T) {
|
||||||
|
s := unix.SignalName(ts.num)
|
||||||
|
if s != ts.name {
|
||||||
|
t.Errorf("SignalName(%d) returned %s, want %s", ts.num, s, ts.name)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// TestFcntlFlock tests whether the file locking structure matches
|
// TestFcntlFlock tests whether the file locking structure matches
|
||||||
// the calling convention of each kernel.
|
// the calling convention of each kernel.
|
||||||
func TestFcntlFlock(t *testing.T) {
|
func TestFcntlFlock(t *testing.T) {
|
||||||
|
|||||||
+147
-139
@@ -1624,146 +1624,154 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "resource busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "resource busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EAGAIN", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't 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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "operation timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "device power is off",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "device error",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "bad executable (or shared library)",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "bad CPU type in executable",
|
{82, "EPWROFF", "device power is off"},
|
||||||
87: "shared library version mismatch",
|
{83, "EDEVERR", "device error"},
|
||||||
88: "malformed Mach-o file",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "operation canceled",
|
{85, "EBADEXEC", "bad executable (or shared library)"},
|
||||||
90: "identifier removed",
|
{86, "EBADARCH", "bad CPU type in executable"},
|
||||||
91: "no message of desired type",
|
{87, "ESHLIBVERS", "shared library version mismatch"},
|
||||||
92: "illegal byte sequence",
|
{88, "EBADMACHO", "malformed Mach-o file"},
|
||||||
93: "attribute not found",
|
{89, "ECANCELED", "operation canceled"},
|
||||||
94: "bad message",
|
{90, "EIDRM", "identifier removed"},
|
||||||
95: "EMULTIHOP (Reserved)",
|
{91, "ENOMSG", "no message of desired type"},
|
||||||
96: "no message available on STREAM",
|
{92, "EILSEQ", "illegal byte sequence"},
|
||||||
97: "ENOLINK (Reserved)",
|
{93, "ENOATTR", "attribute not found"},
|
||||||
98: "no STREAM resources",
|
{94, "EBADMSG", "bad message"},
|
||||||
99: "not a STREAM",
|
{95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
|
||||||
100: "protocol error",
|
{96, "ENODATA", "no message available on STREAM"},
|
||||||
101: "STREAM ioctl timeout",
|
{97, "ENOLINK", "ENOLINK (Reserved)"},
|
||||||
102: "operation not supported on socket",
|
{98, "ENOSR", "no STREAM resources"},
|
||||||
103: "policy not found",
|
{99, "ENOSTR", "not a STREAM"},
|
||||||
104: "state not recoverable",
|
{100, "EPROTO", "protocol error"},
|
||||||
105: "previous owner died",
|
{101, "ETIME", "STREAM ioctl timeout"},
|
||||||
106: "interface output queue is full",
|
{102, "EOPNOTSUPP", "operation not supported on socket"},
|
||||||
|
{103, "ENOPOLICY", "policy not found"},
|
||||||
|
{104, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{105, "EOWNERDEAD", "previous owner died"},
|
||||||
|
{106, "EQFULL", "interface output queue is full"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGABRT", "abort trap"},
|
||||||
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: "suspended (signal)",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "suspended",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "continued",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "child exited",
|
{16, "SIGURG", "urgent I/O condition"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGSTOP", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize 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 size changes"},
|
||||||
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
}
|
}
|
||||||
+147
-139
@@ -1624,146 +1624,154 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "resource busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "resource busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EAGAIN", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't 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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "operation timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "device power is off",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "device error",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "bad executable (or shared library)",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "bad CPU type in executable",
|
{82, "EPWROFF", "device power is off"},
|
||||||
87: "shared library version mismatch",
|
{83, "EDEVERR", "device error"},
|
||||||
88: "malformed Mach-o file",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "operation canceled",
|
{85, "EBADEXEC", "bad executable (or shared library)"},
|
||||||
90: "identifier removed",
|
{86, "EBADARCH", "bad CPU type in executable"},
|
||||||
91: "no message of desired type",
|
{87, "ESHLIBVERS", "shared library version mismatch"},
|
||||||
92: "illegal byte sequence",
|
{88, "EBADMACHO", "malformed Mach-o file"},
|
||||||
93: "attribute not found",
|
{89, "ECANCELED", "operation canceled"},
|
||||||
94: "bad message",
|
{90, "EIDRM", "identifier removed"},
|
||||||
95: "EMULTIHOP (Reserved)",
|
{91, "ENOMSG", "no message of desired type"},
|
||||||
96: "no message available on STREAM",
|
{92, "EILSEQ", "illegal byte sequence"},
|
||||||
97: "ENOLINK (Reserved)",
|
{93, "ENOATTR", "attribute not found"},
|
||||||
98: "no STREAM resources",
|
{94, "EBADMSG", "bad message"},
|
||||||
99: "not a STREAM",
|
{95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
|
||||||
100: "protocol error",
|
{96, "ENODATA", "no message available on STREAM"},
|
||||||
101: "STREAM ioctl timeout",
|
{97, "ENOLINK", "ENOLINK (Reserved)"},
|
||||||
102: "operation not supported on socket",
|
{98, "ENOSR", "no STREAM resources"},
|
||||||
103: "policy not found",
|
{99, "ENOSTR", "not a STREAM"},
|
||||||
104: "state not recoverable",
|
{100, "EPROTO", "protocol error"},
|
||||||
105: "previous owner died",
|
{101, "ETIME", "STREAM ioctl timeout"},
|
||||||
106: "interface output queue is full",
|
{102, "EOPNOTSUPP", "operation not supported on socket"},
|
||||||
|
{103, "ENOPOLICY", "policy not found"},
|
||||||
|
{104, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{105, "EOWNERDEAD", "previous owner died"},
|
||||||
|
{106, "EQFULL", "interface output queue is full"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGABRT", "abort trap"},
|
||||||
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: "suspended (signal)",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "suspended",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "continued",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "child exited",
|
{16, "SIGURG", "urgent I/O condition"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGSTOP", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize 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 size changes"},
|
||||||
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
}
|
}
|
||||||
+147
-139
@@ -1624,146 +1624,154 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "resource busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "resource busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EAGAIN", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't 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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "operation timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "device power is off",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "device error",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "bad executable (or shared library)",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "bad CPU type in executable",
|
{82, "EPWROFF", "device power is off"},
|
||||||
87: "shared library version mismatch",
|
{83, "EDEVERR", "device error"},
|
||||||
88: "malformed Mach-o file",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "operation canceled",
|
{85, "EBADEXEC", "bad executable (or shared library)"},
|
||||||
90: "identifier removed",
|
{86, "EBADARCH", "bad CPU type in executable"},
|
||||||
91: "no message of desired type",
|
{87, "ESHLIBVERS", "shared library version mismatch"},
|
||||||
92: "illegal byte sequence",
|
{88, "EBADMACHO", "malformed Mach-o file"},
|
||||||
93: "attribute not found",
|
{89, "ECANCELED", "operation canceled"},
|
||||||
94: "bad message",
|
{90, "EIDRM", "identifier removed"},
|
||||||
95: "EMULTIHOP (Reserved)",
|
{91, "ENOMSG", "no message of desired type"},
|
||||||
96: "no message available on STREAM",
|
{92, "EILSEQ", "illegal byte sequence"},
|
||||||
97: "ENOLINK (Reserved)",
|
{93, "ENOATTR", "attribute not found"},
|
||||||
98: "no STREAM resources",
|
{94, "EBADMSG", "bad message"},
|
||||||
99: "not a STREAM",
|
{95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
|
||||||
100: "protocol error",
|
{96, "ENODATA", "no message available on STREAM"},
|
||||||
101: "STREAM ioctl timeout",
|
{97, "ENOLINK", "ENOLINK (Reserved)"},
|
||||||
102: "operation not supported on socket",
|
{98, "ENOSR", "no STREAM resources"},
|
||||||
103: "policy not found",
|
{99, "ENOSTR", "not a STREAM"},
|
||||||
104: "state not recoverable",
|
{100, "EPROTO", "protocol error"},
|
||||||
105: "previous owner died",
|
{101, "ETIME", "STREAM ioctl timeout"},
|
||||||
106: "interface output queue is full",
|
{102, "EOPNOTSUPP", "operation not supported on socket"},
|
||||||
|
{103, "ENOPOLICY", "policy not found"},
|
||||||
|
{104, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{105, "EOWNERDEAD", "previous owner died"},
|
||||||
|
{106, "EQFULL", "interface output queue is full"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGABRT", "abort trap"},
|
||||||
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: "suspended (signal)",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "suspended",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "continued",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "child exited",
|
{16, "SIGURG", "urgent I/O condition"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGSTOP", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize 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 size changes"},
|
||||||
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
}
|
}
|
||||||
+147
-139
@@ -1624,146 +1624,154 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "resource busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "resource busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EAGAIN", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't 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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "operation timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "device power is off",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "device error",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "bad executable (or shared library)",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "bad CPU type in executable",
|
{82, "EPWROFF", "device power is off"},
|
||||||
87: "shared library version mismatch",
|
{83, "EDEVERR", "device error"},
|
||||||
88: "malformed Mach-o file",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "operation canceled",
|
{85, "EBADEXEC", "bad executable (or shared library)"},
|
||||||
90: "identifier removed",
|
{86, "EBADARCH", "bad CPU type in executable"},
|
||||||
91: "no message of desired type",
|
{87, "ESHLIBVERS", "shared library version mismatch"},
|
||||||
92: "illegal byte sequence",
|
{88, "EBADMACHO", "malformed Mach-o file"},
|
||||||
93: "attribute not found",
|
{89, "ECANCELED", "operation canceled"},
|
||||||
94: "bad message",
|
{90, "EIDRM", "identifier removed"},
|
||||||
95: "EMULTIHOP (Reserved)",
|
{91, "ENOMSG", "no message of desired type"},
|
||||||
96: "no message available on STREAM",
|
{92, "EILSEQ", "illegal byte sequence"},
|
||||||
97: "ENOLINK (Reserved)",
|
{93, "ENOATTR", "attribute not found"},
|
||||||
98: "no STREAM resources",
|
{94, "EBADMSG", "bad message"},
|
||||||
99: "not a STREAM",
|
{95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
|
||||||
100: "protocol error",
|
{96, "ENODATA", "no message available on STREAM"},
|
||||||
101: "STREAM ioctl timeout",
|
{97, "ENOLINK", "ENOLINK (Reserved)"},
|
||||||
102: "operation not supported on socket",
|
{98, "ENOSR", "no STREAM resources"},
|
||||||
103: "policy not found",
|
{99, "ENOSTR", "not a STREAM"},
|
||||||
104: "state not recoverable",
|
{100, "EPROTO", "protocol error"},
|
||||||
105: "previous owner died",
|
{101, "ETIME", "STREAM ioctl timeout"},
|
||||||
106: "interface output queue is full",
|
{102, "EOPNOTSUPP", "operation not supported on socket"},
|
||||||
|
{103, "ENOPOLICY", "policy not found"},
|
||||||
|
{104, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{105, "EOWNERDEAD", "previous owner died"},
|
||||||
|
{106, "EQFULL", "interface output queue is full"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGABRT", "abort trap"},
|
||||||
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: "suspended (signal)",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "suspended",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "continued",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "child exited",
|
{16, "SIGURG", "urgent I/O condition"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGSTOP", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize 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 size changes"},
|
||||||
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
}
|
}
|
||||||
+143
-135
@@ -1437,142 +1437,150 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't assign requested address",
|
{45, "EOPNOTSUPP", "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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "operation timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "identifier removed",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "no message of desired type",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "operation canceled",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "illegal byte sequence",
|
{82, "EIDRM", "identifier removed"},
|
||||||
87: "attribute not found",
|
{83, "ENOMSG", "no message of desired type"},
|
||||||
88: "programming error",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "bad message",
|
{85, "ECANCELED", "operation canceled"},
|
||||||
90: "multihop attempted",
|
{86, "EILSEQ", "illegal byte sequence"},
|
||||||
91: "link has been severed",
|
{87, "ENOATTR", "attribute not found"},
|
||||||
92: "protocol error",
|
{88, "EDOOFUS", "programming error"},
|
||||||
93: "no medium found",
|
{89, "EBADMSG", "bad message"},
|
||||||
94: "unknown error: 94",
|
{90, "EMULTIHOP", "multihop attempted"},
|
||||||
95: "unknown error: 95",
|
{91, "ENOLINK", "link has been severed"},
|
||||||
96: "unknown error: 96",
|
{92, "EPROTO", "protocol error"},
|
||||||
97: "unknown error: 97",
|
{93, "ENOMEDIUM", "no medium found"},
|
||||||
98: "unknown error: 98",
|
{94, "EUNUSED94", "unknown error: 94"},
|
||||||
99: "unknown error: 99",
|
{95, "EUNUSED95", "unknown error: 95"},
|
||||||
|
{96, "EUNUSED96", "unknown error: 96"},
|
||||||
|
{97, "EUNUSED97", "unknown error: 97"},
|
||||||
|
{98, "EUNUSED98", "unknown error: 98"},
|
||||||
|
{99, "ELAST", "unknown error: 99"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGIOT", "abort trap"},
|
||||||
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: "suspended (signal)",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "suspended",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "continued",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "child exited",
|
{16, "SIGURG", "urgent I/O condition"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGSTOP", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
32: "thread Scheduler",
|
{28, "SIGWINCH", "window size changes"},
|
||||||
33: "checkPoint",
|
{29, "SIGINFO", "information request"},
|
||||||
34: "checkPointExit",
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
|
{32, "SIGTHR", "thread Scheduler"},
|
||||||
|
{33, "SIGCKPT", "checkPoint"},
|
||||||
|
{34, "SIGCKPTEXIT", "checkPointExit"},
|
||||||
}
|
}
|
||||||
+139
-131
@@ -1619,138 +1619,146 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EAGAIN", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't assign requested address",
|
{45, "EOPNOTSUPP", "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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "operation timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "identifier removed",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "no message of desired type",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "operation canceled",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "illegal byte sequence",
|
{82, "EIDRM", "identifier removed"},
|
||||||
87: "attribute not found",
|
{83, "ENOMSG", "no message of desired type"},
|
||||||
88: "programming error",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "bad message",
|
{85, "ECANCELED", "operation canceled"},
|
||||||
90: "multihop attempted",
|
{86, "EILSEQ", "illegal byte sequence"},
|
||||||
91: "link has been severed",
|
{87, "ENOATTR", "attribute not found"},
|
||||||
92: "protocol error",
|
{88, "EDOOFUS", "programming error"},
|
||||||
93: "capabilities insufficient",
|
{89, "EBADMSG", "bad message"},
|
||||||
94: "not permitted in capability mode",
|
{90, "EMULTIHOP", "multihop attempted"},
|
||||||
95: "state not recoverable",
|
{91, "ENOLINK", "link has been severed"},
|
||||||
96: "previous owner died",
|
{92, "EPROTO", "protocol error"},
|
||||||
|
{93, "ENOTCAPABLE", "capabilities insufficient"},
|
||||||
|
{94, "ECAPMODE", "not permitted in capability mode"},
|
||||||
|
{95, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{96, "EOWNERDEAD", "previous owner died"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGIOT", "abort trap"},
|
||||||
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: "suspended (signal)",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "suspended",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "continued",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "child exited",
|
{16, "SIGURG", "urgent I/O condition"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGSTOP", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
32: "unknown signal",
|
{28, "SIGWINCH", "window size changes"},
|
||||||
33: "unknown signal",
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
|
{32, "SIGTHR", "unknown signal"},
|
||||||
|
{33, "SIGLIBRT", "unknown signal"},
|
||||||
}
|
}
|
||||||
+139
-131
@@ -1620,138 +1620,146 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EAGAIN", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't assign requested address",
|
{45, "EOPNOTSUPP", "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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "operation timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "identifier removed",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "no message of desired type",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "operation canceled",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "illegal byte sequence",
|
{82, "EIDRM", "identifier removed"},
|
||||||
87: "attribute not found",
|
{83, "ENOMSG", "no message of desired type"},
|
||||||
88: "programming error",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "bad message",
|
{85, "ECANCELED", "operation canceled"},
|
||||||
90: "multihop attempted",
|
{86, "EILSEQ", "illegal byte sequence"},
|
||||||
91: "link has been severed",
|
{87, "ENOATTR", "attribute not found"},
|
||||||
92: "protocol error",
|
{88, "EDOOFUS", "programming error"},
|
||||||
93: "capabilities insufficient",
|
{89, "EBADMSG", "bad message"},
|
||||||
94: "not permitted in capability mode",
|
{90, "EMULTIHOP", "multihop attempted"},
|
||||||
95: "state not recoverable",
|
{91, "ENOLINK", "link has been severed"},
|
||||||
96: "previous owner died",
|
{92, "EPROTO", "protocol error"},
|
||||||
|
{93, "ENOTCAPABLE", "capabilities insufficient"},
|
||||||
|
{94, "ECAPMODE", "not permitted in capability mode"},
|
||||||
|
{95, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{96, "EOWNERDEAD", "previous owner died"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGIOT", "abort trap"},
|
||||||
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: "suspended (signal)",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "suspended",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "continued",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "child exited",
|
{16, "SIGURG", "urgent I/O condition"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGSTOP", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
32: "unknown signal",
|
{28, "SIGWINCH", "window size changes"},
|
||||||
33: "unknown signal",
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
|
{32, "SIGTHR", "unknown signal"},
|
||||||
|
{33, "SIGLIBRT", "unknown signal"},
|
||||||
}
|
}
|
||||||
+139
-131
@@ -1628,138 +1628,146 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EAGAIN", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't assign requested address",
|
{45, "EOPNOTSUPP", "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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "operation timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "identifier removed",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "no message of desired type",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "operation canceled",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "illegal byte sequence",
|
{82, "EIDRM", "identifier removed"},
|
||||||
87: "attribute not found",
|
{83, "ENOMSG", "no message of desired type"},
|
||||||
88: "programming error",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "bad message",
|
{85, "ECANCELED", "operation canceled"},
|
||||||
90: "multihop attempted",
|
{86, "EILSEQ", "illegal byte sequence"},
|
||||||
91: "link has been severed",
|
{87, "ENOATTR", "attribute not found"},
|
||||||
92: "protocol error",
|
{88, "EDOOFUS", "programming error"},
|
||||||
93: "capabilities insufficient",
|
{89, "EBADMSG", "bad message"},
|
||||||
94: "not permitted in capability mode",
|
{90, "EMULTIHOP", "multihop attempted"},
|
||||||
95: "state not recoverable",
|
{91, "ENOLINK", "link has been severed"},
|
||||||
96: "previous owner died",
|
{92, "EPROTO", "protocol error"},
|
||||||
|
{93, "ENOTCAPABLE", "capabilities insufficient"},
|
||||||
|
{94, "ECAPMODE", "not permitted in capability mode"},
|
||||||
|
{95, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{96, "EOWNERDEAD", "previous owner died"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGIOT", "abort trap"},
|
||||||
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: "suspended (signal)",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "suspended",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "continued",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "child exited",
|
{16, "SIGURG", "urgent I/O condition"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGSTOP", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
32: "unknown signal",
|
{28, "SIGWINCH", "window size changes"},
|
||||||
33: "unknown signal",
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
|
{32, "SIGTHR", "unknown signal"},
|
||||||
|
{33, "SIGLIBRT", "unknown signal"},
|
||||||
}
|
}
|
||||||
+172
-164
@@ -2268,171 +2268,179 @@ 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"},
|
||||||
35: "resource deadlock avoided",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "file name too long",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "no locks available",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "function not implemented",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "directory not empty",
|
{35, "EDEADLK", "resource deadlock avoided"},
|
||||||
40: "too many levels of symbolic links",
|
{36, "ENAMETOOLONG", "file name too long"},
|
||||||
42: "no message of desired type",
|
{37, "ENOLCK", "no locks available"},
|
||||||
43: "identifier removed",
|
{38, "ENOSYS", "function not implemented"},
|
||||||
44: "channel number out of range",
|
{39, "ENOTEMPTY", "directory not empty"},
|
||||||
45: "level 2 not synchronized",
|
{40, "ELOOP", "too many levels of symbolic links"},
|
||||||
46: "level 3 halted",
|
{42, "ENOMSG", "no message of desired type"},
|
||||||
47: "level 3 reset",
|
{43, "EIDRM", "identifier removed"},
|
||||||
48: "link number out of range",
|
{44, "ECHRNG", "channel number out of range"},
|
||||||
49: "protocol driver not attached",
|
{45, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
50: "no CSI structure available",
|
{46, "EL3HLT", "level 3 halted"},
|
||||||
51: "level 2 halted",
|
{47, "EL3RST", "level 3 reset"},
|
||||||
52: "invalid exchange",
|
{48, "ELNRNG", "link number out of range"},
|
||||||
53: "invalid request descriptor",
|
{49, "EUNATCH", "protocol driver not attached"},
|
||||||
54: "exchange full",
|
{50, "ENOCSI", "no CSI structure available"},
|
||||||
55: "no anode",
|
{51, "EL2HLT", "level 2 halted"},
|
||||||
56: "invalid request code",
|
{52, "EBADE", "invalid exchange"},
|
||||||
57: "invalid slot",
|
{53, "EBADR", "invalid request descriptor"},
|
||||||
59: "bad font file format",
|
{54, "EXFULL", "exchange full"},
|
||||||
60: "device not a stream",
|
{55, "ENOANO", "no anode"},
|
||||||
61: "no data available",
|
{56, "EBADRQC", "invalid request code"},
|
||||||
62: "timer expired",
|
{57, "EBADSLT", "invalid slot"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
72: "multihop attempted",
|
{68, "EADV", "advertise error"},
|
||||||
73: "RFS specific error",
|
{69, "ESRMNT", "srmount error"},
|
||||||
74: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
75: "value too large for defined data type",
|
{71, "EPROTO", "protocol error"},
|
||||||
76: "name not unique on network",
|
{72, "EMULTIHOP", "multihop attempted"},
|
||||||
77: "file descriptor in bad state",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
78: "remote address changed",
|
{74, "EBADMSG", "bad message"},
|
||||||
79: "can not access a needed shared library",
|
{75, "EOVERFLOW", "value too large for defined data type"},
|
||||||
80: "accessing a corrupted shared library",
|
{76, "ENOTUNIQ", "name not unique on network"},
|
||||||
81: ".lib section in a.out corrupted",
|
{77, "EBADFD", "file descriptor in bad state"},
|
||||||
82: "attempting to link in too many shared libraries",
|
{78, "EREMCHG", "remote address changed"},
|
||||||
83: "cannot exec a shared library directly",
|
{79, "ELIBACC", "can not access a needed shared library"},
|
||||||
84: "invalid or incomplete multibyte or wide character",
|
{80, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
85: "interrupted system call should be restarted",
|
{81, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
86: "streams pipe error",
|
{82, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
87: "too many users",
|
{83, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
88: "socket operation on non-socket",
|
{84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
89: "destination address required",
|
{85, "ERESTART", "interrupted system call should be restarted"},
|
||||||
90: "message too long",
|
{86, "ESTRPIPE", "streams pipe error"},
|
||||||
91: "protocol wrong type for socket",
|
{87, "EUSERS", "too many users"},
|
||||||
92: "protocol not available",
|
{88, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
93: "protocol not supported",
|
{89, "EDESTADDRREQ", "destination address required"},
|
||||||
94: "socket type not supported",
|
{90, "EMSGSIZE", "message too long"},
|
||||||
95: "operation not supported",
|
{91, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
96: "protocol family not supported",
|
{92, "ENOPROTOOPT", "protocol not available"},
|
||||||
97: "address family not supported by protocol",
|
{93, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
98: "address already in use",
|
{94, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
99: "cannot assign requested address",
|
{95, "ENOTSUP", "operation not supported"},
|
||||||
100: "network is down",
|
{96, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
101: "network is unreachable",
|
{97, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
102: "network dropped connection on reset",
|
{98, "EADDRINUSE", "address already in use"},
|
||||||
103: "software caused connection abort",
|
{99, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
104: "connection reset by peer",
|
{100, "ENETDOWN", "network is down"},
|
||||||
105: "no buffer space available",
|
{101, "ENETUNREACH", "network is unreachable"},
|
||||||
106: "transport endpoint is already connected",
|
{102, "ENETRESET", "network dropped connection on reset"},
|
||||||
107: "transport endpoint is not connected",
|
{103, "ECONNABORTED", "software caused connection abort"},
|
||||||
108: "cannot send after transport endpoint shutdown",
|
{104, "ECONNRESET", "connection reset by peer"},
|
||||||
109: "too many references: cannot splice",
|
{105, "ENOBUFS", "no buffer space available"},
|
||||||
110: "connection timed out",
|
{106, "EISCONN", "transport endpoint is already connected"},
|
||||||
111: "connection refused",
|
{107, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
112: "host is down",
|
{108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
113: "no route to host",
|
{109, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
114: "operation already in progress",
|
{110, "ETIMEDOUT", "connection timed out"},
|
||||||
115: "operation now in progress",
|
{111, "ECONNREFUSED", "connection refused"},
|
||||||
116: "stale file handle",
|
{112, "EHOSTDOWN", "host is down"},
|
||||||
117: "structure needs cleaning",
|
{113, "EHOSTUNREACH", "no route to host"},
|
||||||
118: "not a XENIX named type file",
|
{114, "EALREADY", "operation already in progress"},
|
||||||
119: "no XENIX semaphores available",
|
{115, "EINPROGRESS", "operation now in progress"},
|
||||||
120: "is a named type file",
|
{116, "ESTALE", "stale file handle"},
|
||||||
121: "remote I/O error",
|
{117, "EUCLEAN", "structure needs cleaning"},
|
||||||
122: "disk quota exceeded",
|
{118, "ENOTNAM", "not a XENIX named type file"},
|
||||||
123: "no medium found",
|
{119, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
124: "wrong medium type",
|
{120, "EISNAM", "is a named type file"},
|
||||||
125: "operation canceled",
|
{121, "EREMOTEIO", "remote I/O error"},
|
||||||
126: "required key not available",
|
{122, "EDQUOT", "disk quota exceeded"},
|
||||||
127: "key has expired",
|
{123, "ENOMEDIUM", "no medium found"},
|
||||||
128: "key has been revoked",
|
{124, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
129: "key was rejected by service",
|
{125, "ECANCELED", "operation canceled"},
|
||||||
130: "owner died",
|
{126, "ENOKEY", "required key not available"},
|
||||||
131: "state not recoverable",
|
{127, "EKEYEXPIRED", "key has expired"},
|
||||||
132: "operation not possible due to RF-kill",
|
{128, "EKEYREVOKED", "key has been revoked"},
|
||||||
133: "memory page has hardware error",
|
{129, "EKEYREJECTED", "key was rejected by service"},
|
||||||
|
{130, "EOWNERDEAD", "owner died"},
|
||||||
|
{131, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{132, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{133, "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: "bus error",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/breakpoint trap"},
|
||||||
10: "user defined signal 1",
|
{6, "SIGABRT", "aborted"},
|
||||||
11: "segmentation fault",
|
{7, "SIGBUS", "bus error"},
|
||||||
12: "user defined signal 2",
|
{8, "SIGFPE", "floating point exception"},
|
||||||
13: "broken pipe",
|
{9, "SIGKILL", "killed"},
|
||||||
14: "alarm clock",
|
{10, "SIGUSR1", "user defined signal 1"},
|
||||||
15: "terminated",
|
{11, "SIGSEGV", "segmentation fault"},
|
||||||
16: "stack fault",
|
{12, "SIGUSR2", "user defined signal 2"},
|
||||||
17: "child exited",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "continued",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "stopped (signal)",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "stopped",
|
{16, "SIGSTKFLT", "stack fault"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGCHLD", "child exited"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGCONT", "continued"},
|
||||||
23: "urgent I/O condition",
|
{19, "SIGSTOP", "stopped (signal)"},
|
||||||
24: "CPU time limit exceeded",
|
{20, "SIGTSTP", "stopped"},
|
||||||
25: "file size limit exceeded",
|
{21, "SIGTTIN", "stopped (tty input)"},
|
||||||
26: "virtual timer expired",
|
{22, "SIGTTOU", "stopped (tty output)"},
|
||||||
27: "profiling timer expired",
|
{23, "SIGURG", "urgent I/O condition"},
|
||||||
28: "window changed",
|
{24, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
29: "I/O possible",
|
{25, "SIGXFSZ", "file size limit exceeded"},
|
||||||
30: "power failure",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "bad system call",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
|
{28, "SIGWINCH", "window changed"},
|
||||||
|
{29, "SIGIO", "I/O possible"},
|
||||||
|
{30, "SIGPWR", "power failure"},
|
||||||
|
{31, "SIGSYS", "bad system call"},
|
||||||
}
|
}
|
||||||
+172
-164
@@ -2269,171 +2269,179 @@ 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"},
|
||||||
35: "resource deadlock avoided",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "file name too long",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "no locks available",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "function not implemented",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "directory not empty",
|
{35, "EDEADLK", "resource deadlock avoided"},
|
||||||
40: "too many levels of symbolic links",
|
{36, "ENAMETOOLONG", "file name too long"},
|
||||||
42: "no message of desired type",
|
{37, "ENOLCK", "no locks available"},
|
||||||
43: "identifier removed",
|
{38, "ENOSYS", "function not implemented"},
|
||||||
44: "channel number out of range",
|
{39, "ENOTEMPTY", "directory not empty"},
|
||||||
45: "level 2 not synchronized",
|
{40, "ELOOP", "too many levels of symbolic links"},
|
||||||
46: "level 3 halted",
|
{42, "ENOMSG", "no message of desired type"},
|
||||||
47: "level 3 reset",
|
{43, "EIDRM", "identifier removed"},
|
||||||
48: "link number out of range",
|
{44, "ECHRNG", "channel number out of range"},
|
||||||
49: "protocol driver not attached",
|
{45, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
50: "no CSI structure available",
|
{46, "EL3HLT", "level 3 halted"},
|
||||||
51: "level 2 halted",
|
{47, "EL3RST", "level 3 reset"},
|
||||||
52: "invalid exchange",
|
{48, "ELNRNG", "link number out of range"},
|
||||||
53: "invalid request descriptor",
|
{49, "EUNATCH", "protocol driver not attached"},
|
||||||
54: "exchange full",
|
{50, "ENOCSI", "no CSI structure available"},
|
||||||
55: "no anode",
|
{51, "EL2HLT", "level 2 halted"},
|
||||||
56: "invalid request code",
|
{52, "EBADE", "invalid exchange"},
|
||||||
57: "invalid slot",
|
{53, "EBADR", "invalid request descriptor"},
|
||||||
59: "bad font file format",
|
{54, "EXFULL", "exchange full"},
|
||||||
60: "device not a stream",
|
{55, "ENOANO", "no anode"},
|
||||||
61: "no data available",
|
{56, "EBADRQC", "invalid request code"},
|
||||||
62: "timer expired",
|
{57, "EBADSLT", "invalid slot"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
72: "multihop attempted",
|
{68, "EADV", "advertise error"},
|
||||||
73: "RFS specific error",
|
{69, "ESRMNT", "srmount error"},
|
||||||
74: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
75: "value too large for defined data type",
|
{71, "EPROTO", "protocol error"},
|
||||||
76: "name not unique on network",
|
{72, "EMULTIHOP", "multihop attempted"},
|
||||||
77: "file descriptor in bad state",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
78: "remote address changed",
|
{74, "EBADMSG", "bad message"},
|
||||||
79: "can not access a needed shared library",
|
{75, "EOVERFLOW", "value too large for defined data type"},
|
||||||
80: "accessing a corrupted shared library",
|
{76, "ENOTUNIQ", "name not unique on network"},
|
||||||
81: ".lib section in a.out corrupted",
|
{77, "EBADFD", "file descriptor in bad state"},
|
||||||
82: "attempting to link in too many shared libraries",
|
{78, "EREMCHG", "remote address changed"},
|
||||||
83: "cannot exec a shared library directly",
|
{79, "ELIBACC", "can not access a needed shared library"},
|
||||||
84: "invalid or incomplete multibyte or wide character",
|
{80, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
85: "interrupted system call should be restarted",
|
{81, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
86: "streams pipe error",
|
{82, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
87: "too many users",
|
{83, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
88: "socket operation on non-socket",
|
{84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
89: "destination address required",
|
{85, "ERESTART", "interrupted system call should be restarted"},
|
||||||
90: "message too long",
|
{86, "ESTRPIPE", "streams pipe error"},
|
||||||
91: "protocol wrong type for socket",
|
{87, "EUSERS", "too many users"},
|
||||||
92: "protocol not available",
|
{88, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
93: "protocol not supported",
|
{89, "EDESTADDRREQ", "destination address required"},
|
||||||
94: "socket type not supported",
|
{90, "EMSGSIZE", "message too long"},
|
||||||
95: "operation not supported",
|
{91, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
96: "protocol family not supported",
|
{92, "ENOPROTOOPT", "protocol not available"},
|
||||||
97: "address family not supported by protocol",
|
{93, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
98: "address already in use",
|
{94, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
99: "cannot assign requested address",
|
{95, "ENOTSUP", "operation not supported"},
|
||||||
100: "network is down",
|
{96, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
101: "network is unreachable",
|
{97, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
102: "network dropped connection on reset",
|
{98, "EADDRINUSE", "address already in use"},
|
||||||
103: "software caused connection abort",
|
{99, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
104: "connection reset by peer",
|
{100, "ENETDOWN", "network is down"},
|
||||||
105: "no buffer space available",
|
{101, "ENETUNREACH", "network is unreachable"},
|
||||||
106: "transport endpoint is already connected",
|
{102, "ENETRESET", "network dropped connection on reset"},
|
||||||
107: "transport endpoint is not connected",
|
{103, "ECONNABORTED", "software caused connection abort"},
|
||||||
108: "cannot send after transport endpoint shutdown",
|
{104, "ECONNRESET", "connection reset by peer"},
|
||||||
109: "too many references: cannot splice",
|
{105, "ENOBUFS", "no buffer space available"},
|
||||||
110: "connection timed out",
|
{106, "EISCONN", "transport endpoint is already connected"},
|
||||||
111: "connection refused",
|
{107, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
112: "host is down",
|
{108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
113: "no route to host",
|
{109, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
114: "operation already in progress",
|
{110, "ETIMEDOUT", "connection timed out"},
|
||||||
115: "operation now in progress",
|
{111, "ECONNREFUSED", "connection refused"},
|
||||||
116: "stale file handle",
|
{112, "EHOSTDOWN", "host is down"},
|
||||||
117: "structure needs cleaning",
|
{113, "EHOSTUNREACH", "no route to host"},
|
||||||
118: "not a XENIX named type file",
|
{114, "EALREADY", "operation already in progress"},
|
||||||
119: "no XENIX semaphores available",
|
{115, "EINPROGRESS", "operation now in progress"},
|
||||||
120: "is a named type file",
|
{116, "ESTALE", "stale file handle"},
|
||||||
121: "remote I/O error",
|
{117, "EUCLEAN", "structure needs cleaning"},
|
||||||
122: "disk quota exceeded",
|
{118, "ENOTNAM", "not a XENIX named type file"},
|
||||||
123: "no medium found",
|
{119, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
124: "wrong medium type",
|
{120, "EISNAM", "is a named type file"},
|
||||||
125: "operation canceled",
|
{121, "EREMOTEIO", "remote I/O error"},
|
||||||
126: "required key not available",
|
{122, "EDQUOT", "disk quota exceeded"},
|
||||||
127: "key has expired",
|
{123, "ENOMEDIUM", "no medium found"},
|
||||||
128: "key has been revoked",
|
{124, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
129: "key was rejected by service",
|
{125, "ECANCELED", "operation canceled"},
|
||||||
130: "owner died",
|
{126, "ENOKEY", "required key not available"},
|
||||||
131: "state not recoverable",
|
{127, "EKEYEXPIRED", "key has expired"},
|
||||||
132: "operation not possible due to RF-kill",
|
{128, "EKEYREVOKED", "key has been revoked"},
|
||||||
133: "memory page has hardware error",
|
{129, "EKEYREJECTED", "key was rejected by service"},
|
||||||
|
{130, "EOWNERDEAD", "owner died"},
|
||||||
|
{131, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{132, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{133, "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: "bus error",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/breakpoint trap"},
|
||||||
10: "user defined signal 1",
|
{6, "SIGABRT", "aborted"},
|
||||||
11: "segmentation fault",
|
{7, "SIGBUS", "bus error"},
|
||||||
12: "user defined signal 2",
|
{8, "SIGFPE", "floating point exception"},
|
||||||
13: "broken pipe",
|
{9, "SIGKILL", "killed"},
|
||||||
14: "alarm clock",
|
{10, "SIGUSR1", "user defined signal 1"},
|
||||||
15: "terminated",
|
{11, "SIGSEGV", "segmentation fault"},
|
||||||
16: "stack fault",
|
{12, "SIGUSR2", "user defined signal 2"},
|
||||||
17: "child exited",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "continued",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "stopped (signal)",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "stopped",
|
{16, "SIGSTKFLT", "stack fault"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGCHLD", "child exited"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGCONT", "continued"},
|
||||||
23: "urgent I/O condition",
|
{19, "SIGSTOP", "stopped (signal)"},
|
||||||
24: "CPU time limit exceeded",
|
{20, "SIGTSTP", "stopped"},
|
||||||
25: "file size limit exceeded",
|
{21, "SIGTTIN", "stopped (tty input)"},
|
||||||
26: "virtual timer expired",
|
{22, "SIGTTOU", "stopped (tty output)"},
|
||||||
27: "profiling timer expired",
|
{23, "SIGURG", "urgent I/O condition"},
|
||||||
28: "window changed",
|
{24, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
29: "I/O possible",
|
{25, "SIGXFSZ", "file size limit exceeded"},
|
||||||
30: "power failure",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "bad system call",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
|
{28, "SIGWINCH", "window changed"},
|
||||||
|
{29, "SIGIO", "I/O possible"},
|
||||||
|
{30, "SIGPWR", "power failure"},
|
||||||
|
{31, "SIGSYS", "bad system call"},
|
||||||
}
|
}
|
||||||
+172
-164
@@ -2276,171 +2276,179 @@ 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"},
|
||||||
35: "resource deadlock avoided",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "file name too long",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "no locks available",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "function not implemented",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "directory not empty",
|
{35, "EDEADLK", "resource deadlock avoided"},
|
||||||
40: "too many levels of symbolic links",
|
{36, "ENAMETOOLONG", "file name too long"},
|
||||||
42: "no message of desired type",
|
{37, "ENOLCK", "no locks available"},
|
||||||
43: "identifier removed",
|
{38, "ENOSYS", "function not implemented"},
|
||||||
44: "channel number out of range",
|
{39, "ENOTEMPTY", "directory not empty"},
|
||||||
45: "level 2 not synchronized",
|
{40, "ELOOP", "too many levels of symbolic links"},
|
||||||
46: "level 3 halted",
|
{42, "ENOMSG", "no message of desired type"},
|
||||||
47: "level 3 reset",
|
{43, "EIDRM", "identifier removed"},
|
||||||
48: "link number out of range",
|
{44, "ECHRNG", "channel number out of range"},
|
||||||
49: "protocol driver not attached",
|
{45, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
50: "no CSI structure available",
|
{46, "EL3HLT", "level 3 halted"},
|
||||||
51: "level 2 halted",
|
{47, "EL3RST", "level 3 reset"},
|
||||||
52: "invalid exchange",
|
{48, "ELNRNG", "link number out of range"},
|
||||||
53: "invalid request descriptor",
|
{49, "EUNATCH", "protocol driver not attached"},
|
||||||
54: "exchange full",
|
{50, "ENOCSI", "no CSI structure available"},
|
||||||
55: "no anode",
|
{51, "EL2HLT", "level 2 halted"},
|
||||||
56: "invalid request code",
|
{52, "EBADE", "invalid exchange"},
|
||||||
57: "invalid slot",
|
{53, "EBADR", "invalid request descriptor"},
|
||||||
59: "bad font file format",
|
{54, "EXFULL", "exchange full"},
|
||||||
60: "device not a stream",
|
{55, "ENOANO", "no anode"},
|
||||||
61: "no data available",
|
{56, "EBADRQC", "invalid request code"},
|
||||||
62: "timer expired",
|
{57, "EBADSLT", "invalid slot"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
72: "multihop attempted",
|
{68, "EADV", "advertise error"},
|
||||||
73: "RFS specific error",
|
{69, "ESRMNT", "srmount error"},
|
||||||
74: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
75: "value too large for defined data type",
|
{71, "EPROTO", "protocol error"},
|
||||||
76: "name not unique on network",
|
{72, "EMULTIHOP", "multihop attempted"},
|
||||||
77: "file descriptor in bad state",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
78: "remote address changed",
|
{74, "EBADMSG", "bad message"},
|
||||||
79: "can not access a needed shared library",
|
{75, "EOVERFLOW", "value too large for defined data type"},
|
||||||
80: "accessing a corrupted shared library",
|
{76, "ENOTUNIQ", "name not unique on network"},
|
||||||
81: ".lib section in a.out corrupted",
|
{77, "EBADFD", "file descriptor in bad state"},
|
||||||
82: "attempting to link in too many shared libraries",
|
{78, "EREMCHG", "remote address changed"},
|
||||||
83: "cannot exec a shared library directly",
|
{79, "ELIBACC", "can not access a needed shared library"},
|
||||||
84: "invalid or incomplete multibyte or wide character",
|
{80, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
85: "interrupted system call should be restarted",
|
{81, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
86: "streams pipe error",
|
{82, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
87: "too many users",
|
{83, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
88: "socket operation on non-socket",
|
{84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
89: "destination address required",
|
{85, "ERESTART", "interrupted system call should be restarted"},
|
||||||
90: "message too long",
|
{86, "ESTRPIPE", "streams pipe error"},
|
||||||
91: "protocol wrong type for socket",
|
{87, "EUSERS", "too many users"},
|
||||||
92: "protocol not available",
|
{88, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
93: "protocol not supported",
|
{89, "EDESTADDRREQ", "destination address required"},
|
||||||
94: "socket type not supported",
|
{90, "EMSGSIZE", "message too long"},
|
||||||
95: "operation not supported",
|
{91, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
96: "protocol family not supported",
|
{92, "ENOPROTOOPT", "protocol not available"},
|
||||||
97: "address family not supported by protocol",
|
{93, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
98: "address already in use",
|
{94, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
99: "cannot assign requested address",
|
{95, "ENOTSUP", "operation not supported"},
|
||||||
100: "network is down",
|
{96, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
101: "network is unreachable",
|
{97, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
102: "network dropped connection on reset",
|
{98, "EADDRINUSE", "address already in use"},
|
||||||
103: "software caused connection abort",
|
{99, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
104: "connection reset by peer",
|
{100, "ENETDOWN", "network is down"},
|
||||||
105: "no buffer space available",
|
{101, "ENETUNREACH", "network is unreachable"},
|
||||||
106: "transport endpoint is already connected",
|
{102, "ENETRESET", "network dropped connection on reset"},
|
||||||
107: "transport endpoint is not connected",
|
{103, "ECONNABORTED", "software caused connection abort"},
|
||||||
108: "cannot send after transport endpoint shutdown",
|
{104, "ECONNRESET", "connection reset by peer"},
|
||||||
109: "too many references: cannot splice",
|
{105, "ENOBUFS", "no buffer space available"},
|
||||||
110: "connection timed out",
|
{106, "EISCONN", "transport endpoint is already connected"},
|
||||||
111: "connection refused",
|
{107, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
112: "host is down",
|
{108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
113: "no route to host",
|
{109, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
114: "operation already in progress",
|
{110, "ETIMEDOUT", "connection timed out"},
|
||||||
115: "operation now in progress",
|
{111, "ECONNREFUSED", "connection refused"},
|
||||||
116: "stale file handle",
|
{112, "EHOSTDOWN", "host is down"},
|
||||||
117: "structure needs cleaning",
|
{113, "EHOSTUNREACH", "no route to host"},
|
||||||
118: "not a XENIX named type file",
|
{114, "EALREADY", "operation already in progress"},
|
||||||
119: "no XENIX semaphores available",
|
{115, "EINPROGRESS", "operation now in progress"},
|
||||||
120: "is a named type file",
|
{116, "ESTALE", "stale file handle"},
|
||||||
121: "remote I/O error",
|
{117, "EUCLEAN", "structure needs cleaning"},
|
||||||
122: "disk quota exceeded",
|
{118, "ENOTNAM", "not a XENIX named type file"},
|
||||||
123: "no medium found",
|
{119, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
124: "wrong medium type",
|
{120, "EISNAM", "is a named type file"},
|
||||||
125: "operation canceled",
|
{121, "EREMOTEIO", "remote I/O error"},
|
||||||
126: "required key not available",
|
{122, "EDQUOT", "disk quota exceeded"},
|
||||||
127: "key has expired",
|
{123, "ENOMEDIUM", "no medium found"},
|
||||||
128: "key has been revoked",
|
{124, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
129: "key was rejected by service",
|
{125, "ECANCELED", "operation canceled"},
|
||||||
130: "owner died",
|
{126, "ENOKEY", "required key not available"},
|
||||||
131: "state not recoverable",
|
{127, "EKEYEXPIRED", "key has expired"},
|
||||||
132: "operation not possible due to RF-kill",
|
{128, "EKEYREVOKED", "key has been revoked"},
|
||||||
133: "memory page has hardware error",
|
{129, "EKEYREJECTED", "key was rejected by service"},
|
||||||
|
{130, "EOWNERDEAD", "owner died"},
|
||||||
|
{131, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{132, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{133, "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: "bus error",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/breakpoint trap"},
|
||||||
10: "user defined signal 1",
|
{6, "SIGABRT", "aborted"},
|
||||||
11: "segmentation fault",
|
{7, "SIGBUS", "bus error"},
|
||||||
12: "user defined signal 2",
|
{8, "SIGFPE", "floating point exception"},
|
||||||
13: "broken pipe",
|
{9, "SIGKILL", "killed"},
|
||||||
14: "alarm clock",
|
{10, "SIGUSR1", "user defined signal 1"},
|
||||||
15: "terminated",
|
{11, "SIGSEGV", "segmentation fault"},
|
||||||
16: "stack fault",
|
{12, "SIGUSR2", "user defined signal 2"},
|
||||||
17: "child exited",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "continued",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "stopped (signal)",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "stopped",
|
{16, "SIGSTKFLT", "stack fault"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGCHLD", "child exited"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGCONT", "continued"},
|
||||||
23: "urgent I/O condition",
|
{19, "SIGSTOP", "stopped (signal)"},
|
||||||
24: "CPU time limit exceeded",
|
{20, "SIGTSTP", "stopped"},
|
||||||
25: "file size limit exceeded",
|
{21, "SIGTTIN", "stopped (tty input)"},
|
||||||
26: "virtual timer expired",
|
{22, "SIGTTOU", "stopped (tty output)"},
|
||||||
27: "profiling timer expired",
|
{23, "SIGURG", "urgent I/O condition"},
|
||||||
28: "window changed",
|
{24, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
29: "I/O possible",
|
{25, "SIGXFSZ", "file size limit exceeded"},
|
||||||
30: "power failure",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "bad system call",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
|
{28, "SIGWINCH", "window changed"},
|
||||||
|
{29, "SIGIO", "I/O possible"},
|
||||||
|
{30, "SIGPWR", "power failure"},
|
||||||
|
{31, "SIGSYS", "bad system call"},
|
||||||
}
|
}
|
||||||
+172
-164
@@ -2259,171 +2259,179 @@ 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"},
|
||||||
35: "resource deadlock avoided",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "file name too long",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "no locks available",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "function not implemented",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "directory not empty",
|
{35, "EDEADLK", "resource deadlock avoided"},
|
||||||
40: "too many levels of symbolic links",
|
{36, "ENAMETOOLONG", "file name too long"},
|
||||||
42: "no message of desired type",
|
{37, "ENOLCK", "no locks available"},
|
||||||
43: "identifier removed",
|
{38, "ENOSYS", "function not implemented"},
|
||||||
44: "channel number out of range",
|
{39, "ENOTEMPTY", "directory not empty"},
|
||||||
45: "level 2 not synchronized",
|
{40, "ELOOP", "too many levels of symbolic links"},
|
||||||
46: "level 3 halted",
|
{42, "ENOMSG", "no message of desired type"},
|
||||||
47: "level 3 reset",
|
{43, "EIDRM", "identifier removed"},
|
||||||
48: "link number out of range",
|
{44, "ECHRNG", "channel number out of range"},
|
||||||
49: "protocol driver not attached",
|
{45, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
50: "no CSI structure available",
|
{46, "EL3HLT", "level 3 halted"},
|
||||||
51: "level 2 halted",
|
{47, "EL3RST", "level 3 reset"},
|
||||||
52: "invalid exchange",
|
{48, "ELNRNG", "link number out of range"},
|
||||||
53: "invalid request descriptor",
|
{49, "EUNATCH", "protocol driver not attached"},
|
||||||
54: "exchange full",
|
{50, "ENOCSI", "no CSI structure available"},
|
||||||
55: "no anode",
|
{51, "EL2HLT", "level 2 halted"},
|
||||||
56: "invalid request code",
|
{52, "EBADE", "invalid exchange"},
|
||||||
57: "invalid slot",
|
{53, "EBADR", "invalid request descriptor"},
|
||||||
59: "bad font file format",
|
{54, "EXFULL", "exchange full"},
|
||||||
60: "device not a stream",
|
{55, "ENOANO", "no anode"},
|
||||||
61: "no data available",
|
{56, "EBADRQC", "invalid request code"},
|
||||||
62: "timer expired",
|
{57, "EBADSLT", "invalid slot"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
72: "multihop attempted",
|
{68, "EADV", "advertise error"},
|
||||||
73: "RFS specific error",
|
{69, "ESRMNT", "srmount error"},
|
||||||
74: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
75: "value too large for defined data type",
|
{71, "EPROTO", "protocol error"},
|
||||||
76: "name not unique on network",
|
{72, "EMULTIHOP", "multihop attempted"},
|
||||||
77: "file descriptor in bad state",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
78: "remote address changed",
|
{74, "EBADMSG", "bad message"},
|
||||||
79: "can not access a needed shared library",
|
{75, "EOVERFLOW", "value too large for defined data type"},
|
||||||
80: "accessing a corrupted shared library",
|
{76, "ENOTUNIQ", "name not unique on network"},
|
||||||
81: ".lib section in a.out corrupted",
|
{77, "EBADFD", "file descriptor in bad state"},
|
||||||
82: "attempting to link in too many shared libraries",
|
{78, "EREMCHG", "remote address changed"},
|
||||||
83: "cannot exec a shared library directly",
|
{79, "ELIBACC", "can not access a needed shared library"},
|
||||||
84: "invalid or incomplete multibyte or wide character",
|
{80, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
85: "interrupted system call should be restarted",
|
{81, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
86: "streams pipe error",
|
{82, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
87: "too many users",
|
{83, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
88: "socket operation on non-socket",
|
{84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
89: "destination address required",
|
{85, "ERESTART", "interrupted system call should be restarted"},
|
||||||
90: "message too long",
|
{86, "ESTRPIPE", "streams pipe error"},
|
||||||
91: "protocol wrong type for socket",
|
{87, "EUSERS", "too many users"},
|
||||||
92: "protocol not available",
|
{88, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
93: "protocol not supported",
|
{89, "EDESTADDRREQ", "destination address required"},
|
||||||
94: "socket type not supported",
|
{90, "EMSGSIZE", "message too long"},
|
||||||
95: "operation not supported",
|
{91, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
96: "protocol family not supported",
|
{92, "ENOPROTOOPT", "protocol not available"},
|
||||||
97: "address family not supported by protocol",
|
{93, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
98: "address already in use",
|
{94, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
99: "cannot assign requested address",
|
{95, "ENOTSUP", "operation not supported"},
|
||||||
100: "network is down",
|
{96, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
101: "network is unreachable",
|
{97, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
102: "network dropped connection on reset",
|
{98, "EADDRINUSE", "address already in use"},
|
||||||
103: "software caused connection abort",
|
{99, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
104: "connection reset by peer",
|
{100, "ENETDOWN", "network is down"},
|
||||||
105: "no buffer space available",
|
{101, "ENETUNREACH", "network is unreachable"},
|
||||||
106: "transport endpoint is already connected",
|
{102, "ENETRESET", "network dropped connection on reset"},
|
||||||
107: "transport endpoint is not connected",
|
{103, "ECONNABORTED", "software caused connection abort"},
|
||||||
108: "cannot send after transport endpoint shutdown",
|
{104, "ECONNRESET", "connection reset by peer"},
|
||||||
109: "too many references: cannot splice",
|
{105, "ENOBUFS", "no buffer space available"},
|
||||||
110: "connection timed out",
|
{106, "EISCONN", "transport endpoint is already connected"},
|
||||||
111: "connection refused",
|
{107, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
112: "host is down",
|
{108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
113: "no route to host",
|
{109, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
114: "operation already in progress",
|
{110, "ETIMEDOUT", "connection timed out"},
|
||||||
115: "operation now in progress",
|
{111, "ECONNREFUSED", "connection refused"},
|
||||||
116: "stale file handle",
|
{112, "EHOSTDOWN", "host is down"},
|
||||||
117: "structure needs cleaning",
|
{113, "EHOSTUNREACH", "no route to host"},
|
||||||
118: "not a XENIX named type file",
|
{114, "EALREADY", "operation already in progress"},
|
||||||
119: "no XENIX semaphores available",
|
{115, "EINPROGRESS", "operation now in progress"},
|
||||||
120: "is a named type file",
|
{116, "ESTALE", "stale file handle"},
|
||||||
121: "remote I/O error",
|
{117, "EUCLEAN", "structure needs cleaning"},
|
||||||
122: "disk quota exceeded",
|
{118, "ENOTNAM", "not a XENIX named type file"},
|
||||||
123: "no medium found",
|
{119, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
124: "wrong medium type",
|
{120, "EISNAM", "is a named type file"},
|
||||||
125: "operation canceled",
|
{121, "EREMOTEIO", "remote I/O error"},
|
||||||
126: "required key not available",
|
{122, "EDQUOT", "disk quota exceeded"},
|
||||||
127: "key has expired",
|
{123, "ENOMEDIUM", "no medium found"},
|
||||||
128: "key has been revoked",
|
{124, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
129: "key was rejected by service",
|
{125, "ECANCELED", "operation canceled"},
|
||||||
130: "owner died",
|
{126, "ENOKEY", "required key not available"},
|
||||||
131: "state not recoverable",
|
{127, "EKEYEXPIRED", "key has expired"},
|
||||||
132: "operation not possible due to RF-kill",
|
{128, "EKEYREVOKED", "key has been revoked"},
|
||||||
133: "memory page has hardware error",
|
{129, "EKEYREJECTED", "key was rejected by service"},
|
||||||
|
{130, "EOWNERDEAD", "owner died"},
|
||||||
|
{131, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{132, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{133, "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: "bus error",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/breakpoint trap"},
|
||||||
10: "user defined signal 1",
|
{6, "SIGABRT", "aborted"},
|
||||||
11: "segmentation fault",
|
{7, "SIGBUS", "bus error"},
|
||||||
12: "user defined signal 2",
|
{8, "SIGFPE", "floating point exception"},
|
||||||
13: "broken pipe",
|
{9, "SIGKILL", "killed"},
|
||||||
14: "alarm clock",
|
{10, "SIGUSR1", "user defined signal 1"},
|
||||||
15: "terminated",
|
{11, "SIGSEGV", "segmentation fault"},
|
||||||
16: "stack fault",
|
{12, "SIGUSR2", "user defined signal 2"},
|
||||||
17: "child exited",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "continued",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "stopped (signal)",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "stopped",
|
{16, "SIGSTKFLT", "stack fault"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGCHLD", "child exited"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGCONT", "continued"},
|
||||||
23: "urgent I/O condition",
|
{19, "SIGSTOP", "stopped (signal)"},
|
||||||
24: "CPU time limit exceeded",
|
{20, "SIGTSTP", "stopped"},
|
||||||
25: "file size limit exceeded",
|
{21, "SIGTTIN", "stopped (tty input)"},
|
||||||
26: "virtual timer expired",
|
{22, "SIGTTOU", "stopped (tty output)"},
|
||||||
27: "profiling timer expired",
|
{23, "SIGURG", "urgent I/O condition"},
|
||||||
28: "window changed",
|
{24, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
29: "I/O possible",
|
{25, "SIGXFSZ", "file size limit exceeded"},
|
||||||
30: "power failure",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "bad system call",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
|
{28, "SIGWINCH", "window changed"},
|
||||||
|
{29, "SIGIO", "I/O possible"},
|
||||||
|
{30, "SIGPWR", "power failure"},
|
||||||
|
{31, "SIGSYS", "bad system call"},
|
||||||
}
|
}
|
||||||
+175
-167
@@ -2275,174 +2275,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"},
|
||||||
35: "no message of desired type",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "identifier removed",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "channel number out of range",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "level 2 not synchronized",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "level 3 halted",
|
{35, "ENOMSG", "no message of desired type"},
|
||||||
40: "level 3 reset",
|
{36, "EIDRM", "identifier removed"},
|
||||||
41: "link number out of range",
|
{37, "ECHRNG", "channel number out of range"},
|
||||||
42: "protocol driver not attached",
|
{38, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
43: "no CSI structure available",
|
{39, "EL3HLT", "level 3 halted"},
|
||||||
44: "level 2 halted",
|
{40, "EL3RST", "level 3 reset"},
|
||||||
45: "resource deadlock avoided",
|
{41, "ELNRNG", "link number out of range"},
|
||||||
46: "no locks available",
|
{42, "EUNATCH", "protocol driver not attached"},
|
||||||
50: "invalid exchange",
|
{43, "ENOCSI", "no CSI structure available"},
|
||||||
51: "invalid request descriptor",
|
{44, "EL2HLT", "level 2 halted"},
|
||||||
52: "exchange full",
|
{45, "EDEADLK", "resource deadlock avoided"},
|
||||||
53: "no anode",
|
{46, "ENOLCK", "no locks available"},
|
||||||
54: "invalid request code",
|
{50, "EBADE", "invalid exchange"},
|
||||||
55: "invalid slot",
|
{51, "EBADR", "invalid request descriptor"},
|
||||||
56: "file locking deadlock error",
|
{52, "EXFULL", "exchange full"},
|
||||||
59: "bad font file format",
|
{53, "ENOANO", "no anode"},
|
||||||
60: "device not a stream",
|
{54, "EBADRQC", "invalid request code"},
|
||||||
61: "no data available",
|
{55, "EBADSLT", "invalid slot"},
|
||||||
62: "timer expired",
|
{56, "EDEADLOCK", "file locking deadlock error"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
73: "RFS specific error",
|
{68, "EADV", "advertise error"},
|
||||||
74: "multihop attempted",
|
{69, "ESRMNT", "srmount error"},
|
||||||
77: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
78: "file name too long",
|
{71, "EPROTO", "protocol error"},
|
||||||
79: "value too large for defined data type",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
80: "name not unique on network",
|
{74, "EMULTIHOP", "multihop attempted"},
|
||||||
81: "file descriptor in bad state",
|
{77, "EBADMSG", "bad message"},
|
||||||
82: "remote address changed",
|
{78, "ENAMETOOLONG", "file name too long"},
|
||||||
83: "can not access a needed shared library",
|
{79, "EOVERFLOW", "value too large for defined data type"},
|
||||||
84: "accessing a corrupted shared library",
|
{80, "ENOTUNIQ", "name not unique on network"},
|
||||||
85: ".lib section in a.out corrupted",
|
{81, "EBADFD", "file descriptor in bad state"},
|
||||||
86: "attempting to link in too many shared libraries",
|
{82, "EREMCHG", "remote address changed"},
|
||||||
87: "cannot exec a shared library directly",
|
{83, "ELIBACC", "can not access a needed shared library"},
|
||||||
88: "invalid or incomplete multibyte or wide character",
|
{84, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
89: "function not implemented",
|
{85, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
90: "too many levels of symbolic links",
|
{86, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
91: "interrupted system call should be restarted",
|
{87, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
92: "streams pipe error",
|
{88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
93: "directory not empty",
|
{89, "ENOSYS", "function not implemented"},
|
||||||
94: "too many users",
|
{90, "ELOOP", "too many levels of symbolic links"},
|
||||||
95: "socket operation on non-socket",
|
{91, "ERESTART", "interrupted system call should be restarted"},
|
||||||
96: "destination address required",
|
{92, "ESTRPIPE", "streams pipe error"},
|
||||||
97: "message too long",
|
{93, "ENOTEMPTY", "directory not empty"},
|
||||||
98: "protocol wrong type for socket",
|
{94, "EUSERS", "too many users"},
|
||||||
99: "protocol not available",
|
{95, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
120: "protocol not supported",
|
{96, "EDESTADDRREQ", "destination address required"},
|
||||||
121: "socket type not supported",
|
{97, "EMSGSIZE", "message too long"},
|
||||||
122: "operation not supported",
|
{98, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
123: "protocol family not supported",
|
{99, "ENOPROTOOPT", "protocol not available"},
|
||||||
124: "address family not supported by protocol",
|
{120, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
125: "address already in use",
|
{121, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
126: "cannot assign requested address",
|
{122, "ENOTSUP", "operation not supported"},
|
||||||
127: "network is down",
|
{123, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
128: "network is unreachable",
|
{124, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
129: "network dropped connection on reset",
|
{125, "EADDRINUSE", "address already in use"},
|
||||||
130: "software caused connection abort",
|
{126, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
131: "connection reset by peer",
|
{127, "ENETDOWN", "network is down"},
|
||||||
132: "no buffer space available",
|
{128, "ENETUNREACH", "network is unreachable"},
|
||||||
133: "transport endpoint is already connected",
|
{129, "ENETRESET", "network dropped connection on reset"},
|
||||||
134: "transport endpoint is not connected",
|
{130, "ECONNABORTED", "software caused connection abort"},
|
||||||
135: "structure needs cleaning",
|
{131, "ECONNRESET", "connection reset by peer"},
|
||||||
137: "not a XENIX named type file",
|
{132, "ENOBUFS", "no buffer space available"},
|
||||||
138: "no XENIX semaphores available",
|
{133, "EISCONN", "transport endpoint is already connected"},
|
||||||
139: "is a named type file",
|
{134, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
140: "remote I/O error",
|
{135, "EUCLEAN", "structure needs cleaning"},
|
||||||
141: "unknown error 141",
|
{137, "ENOTNAM", "not a XENIX named type file"},
|
||||||
142: "unknown error 142",
|
{138, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
143: "cannot send after transport endpoint shutdown",
|
{139, "EISNAM", "is a named type file"},
|
||||||
144: "too many references: cannot splice",
|
{140, "EREMOTEIO", "remote I/O error"},
|
||||||
145: "connection timed out",
|
{141, "EINIT", "unknown error 141"},
|
||||||
146: "connection refused",
|
{142, "EREMDEV", "unknown error 142"},
|
||||||
147: "host is down",
|
{143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
148: "no route to host",
|
{144, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
149: "operation already in progress",
|
{145, "ETIMEDOUT", "connection timed out"},
|
||||||
150: "operation now in progress",
|
{146, "ECONNREFUSED", "connection refused"},
|
||||||
151: "stale file handle",
|
{147, "EHOSTDOWN", "host is down"},
|
||||||
158: "operation canceled",
|
{148, "EHOSTUNREACH", "no route to host"},
|
||||||
159: "no medium found",
|
{149, "EALREADY", "operation already in progress"},
|
||||||
160: "wrong medium type",
|
{150, "EINPROGRESS", "operation now in progress"},
|
||||||
161: "required key not available",
|
{151, "ESTALE", "stale file handle"},
|
||||||
162: "key has expired",
|
{158, "ECANCELED", "operation canceled"},
|
||||||
163: "key has been revoked",
|
{159, "ENOMEDIUM", "no medium found"},
|
||||||
164: "key was rejected by service",
|
{160, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
165: "owner died",
|
{161, "ENOKEY", "required key not available"},
|
||||||
166: "state not recoverable",
|
{162, "EKEYEXPIRED", "key has expired"},
|
||||||
167: "operation not possible due to RF-kill",
|
{163, "EKEYREVOKED", "key has been revoked"},
|
||||||
168: "memory page has hardware error",
|
{164, "EKEYREJECTED", "key was rejected by service"},
|
||||||
1133: "disk quota exceeded",
|
{165, "EOWNERDEAD", "owner died"},
|
||||||
|
{166, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{167, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{168, "EHWPOISON", "memory page has hardware error"},
|
||||||
|
{1133, "EDQUOT", "disk quota exceeded"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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: "user defined signal 1",
|
{12, "SIGSYS", "bad system call"},
|
||||||
17: "user defined signal 2",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "child exited",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "power failure",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "window changed",
|
{16, "SIGUSR1", "user defined signal 1"},
|
||||||
21: "urgent I/O condition",
|
{17, "SIGUSR2", "user defined signal 2"},
|
||||||
22: "I/O possible",
|
{18, "SIGCHLD", "child exited"},
|
||||||
23: "stopped (signal)",
|
{19, "SIGPWR", "power failure"},
|
||||||
24: "stopped",
|
{20, "SIGWINCH", "window changed"},
|
||||||
25: "continued",
|
{21, "SIGURG", "urgent I/O condition"},
|
||||||
26: "stopped (tty input)",
|
{22, "SIGIO", "I/O possible"},
|
||||||
27: "stopped (tty output)",
|
{23, "SIGSTOP", "stopped (signal)"},
|
||||||
28: "virtual timer expired",
|
{24, "SIGTSTP", "stopped"},
|
||||||
29: "profiling timer expired",
|
{25, "SIGCONT", "continued"},
|
||||||
30: "CPU time limit exceeded",
|
{26, "SIGTTIN", "stopped (tty input)"},
|
||||||
31: "file size limit exceeded",
|
{27, "SIGTTOU", "stopped (tty output)"},
|
||||||
|
{28, "SIGVTALRM", "virtual timer expired"},
|
||||||
|
{29, "SIGPROF", "profiling timer expired"},
|
||||||
|
{30, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
|
{31, "SIGXFSZ", "file size limit exceeded"},
|
||||||
}
|
}
|
||||||
+175
-167
@@ -2275,174 +2275,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"},
|
||||||
35: "no message of desired type",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "identifier removed",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "channel number out of range",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "level 2 not synchronized",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "level 3 halted",
|
{35, "ENOMSG", "no message of desired type"},
|
||||||
40: "level 3 reset",
|
{36, "EIDRM", "identifier removed"},
|
||||||
41: "link number out of range",
|
{37, "ECHRNG", "channel number out of range"},
|
||||||
42: "protocol driver not attached",
|
{38, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
43: "no CSI structure available",
|
{39, "EL3HLT", "level 3 halted"},
|
||||||
44: "level 2 halted",
|
{40, "EL3RST", "level 3 reset"},
|
||||||
45: "resource deadlock avoided",
|
{41, "ELNRNG", "link number out of range"},
|
||||||
46: "no locks available",
|
{42, "EUNATCH", "protocol driver not attached"},
|
||||||
50: "invalid exchange",
|
{43, "ENOCSI", "no CSI structure available"},
|
||||||
51: "invalid request descriptor",
|
{44, "EL2HLT", "level 2 halted"},
|
||||||
52: "exchange full",
|
{45, "EDEADLK", "resource deadlock avoided"},
|
||||||
53: "no anode",
|
{46, "ENOLCK", "no locks available"},
|
||||||
54: "invalid request code",
|
{50, "EBADE", "invalid exchange"},
|
||||||
55: "invalid slot",
|
{51, "EBADR", "invalid request descriptor"},
|
||||||
56: "file locking deadlock error",
|
{52, "EXFULL", "exchange full"},
|
||||||
59: "bad font file format",
|
{53, "ENOANO", "no anode"},
|
||||||
60: "device not a stream",
|
{54, "EBADRQC", "invalid request code"},
|
||||||
61: "no data available",
|
{55, "EBADSLT", "invalid slot"},
|
||||||
62: "timer expired",
|
{56, "EDEADLOCK", "file locking deadlock error"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
73: "RFS specific error",
|
{68, "EADV", "advertise error"},
|
||||||
74: "multihop attempted",
|
{69, "ESRMNT", "srmount error"},
|
||||||
77: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
78: "file name too long",
|
{71, "EPROTO", "protocol error"},
|
||||||
79: "value too large for defined data type",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
80: "name not unique on network",
|
{74, "EMULTIHOP", "multihop attempted"},
|
||||||
81: "file descriptor in bad state",
|
{77, "EBADMSG", "bad message"},
|
||||||
82: "remote address changed",
|
{78, "ENAMETOOLONG", "file name too long"},
|
||||||
83: "can not access a needed shared library",
|
{79, "EOVERFLOW", "value too large for defined data type"},
|
||||||
84: "accessing a corrupted shared library",
|
{80, "ENOTUNIQ", "name not unique on network"},
|
||||||
85: ".lib section in a.out corrupted",
|
{81, "EBADFD", "file descriptor in bad state"},
|
||||||
86: "attempting to link in too many shared libraries",
|
{82, "EREMCHG", "remote address changed"},
|
||||||
87: "cannot exec a shared library directly",
|
{83, "ELIBACC", "can not access a needed shared library"},
|
||||||
88: "invalid or incomplete multibyte or wide character",
|
{84, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
89: "function not implemented",
|
{85, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
90: "too many levels of symbolic links",
|
{86, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
91: "interrupted system call should be restarted",
|
{87, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
92: "streams pipe error",
|
{88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
93: "directory not empty",
|
{89, "ENOSYS", "function not implemented"},
|
||||||
94: "too many users",
|
{90, "ELOOP", "too many levels of symbolic links"},
|
||||||
95: "socket operation on non-socket",
|
{91, "ERESTART", "interrupted system call should be restarted"},
|
||||||
96: "destination address required",
|
{92, "ESTRPIPE", "streams pipe error"},
|
||||||
97: "message too long",
|
{93, "ENOTEMPTY", "directory not empty"},
|
||||||
98: "protocol wrong type for socket",
|
{94, "EUSERS", "too many users"},
|
||||||
99: "protocol not available",
|
{95, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
120: "protocol not supported",
|
{96, "EDESTADDRREQ", "destination address required"},
|
||||||
121: "socket type not supported",
|
{97, "EMSGSIZE", "message too long"},
|
||||||
122: "operation not supported",
|
{98, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
123: "protocol family not supported",
|
{99, "ENOPROTOOPT", "protocol not available"},
|
||||||
124: "address family not supported by protocol",
|
{120, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
125: "address already in use",
|
{121, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
126: "cannot assign requested address",
|
{122, "ENOTSUP", "operation not supported"},
|
||||||
127: "network is down",
|
{123, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
128: "network is unreachable",
|
{124, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
129: "network dropped connection on reset",
|
{125, "EADDRINUSE", "address already in use"},
|
||||||
130: "software caused connection abort",
|
{126, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
131: "connection reset by peer",
|
{127, "ENETDOWN", "network is down"},
|
||||||
132: "no buffer space available",
|
{128, "ENETUNREACH", "network is unreachable"},
|
||||||
133: "transport endpoint is already connected",
|
{129, "ENETRESET", "network dropped connection on reset"},
|
||||||
134: "transport endpoint is not connected",
|
{130, "ECONNABORTED", "software caused connection abort"},
|
||||||
135: "structure needs cleaning",
|
{131, "ECONNRESET", "connection reset by peer"},
|
||||||
137: "not a XENIX named type file",
|
{132, "ENOBUFS", "no buffer space available"},
|
||||||
138: "no XENIX semaphores available",
|
{133, "EISCONN", "transport endpoint is already connected"},
|
||||||
139: "is a named type file",
|
{134, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
140: "remote I/O error",
|
{135, "EUCLEAN", "structure needs cleaning"},
|
||||||
141: "unknown error 141",
|
{137, "ENOTNAM", "not a XENIX named type file"},
|
||||||
142: "unknown error 142",
|
{138, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
143: "cannot send after transport endpoint shutdown",
|
{139, "EISNAM", "is a named type file"},
|
||||||
144: "too many references: cannot splice",
|
{140, "EREMOTEIO", "remote I/O error"},
|
||||||
145: "connection timed out",
|
{141, "EINIT", "unknown error 141"},
|
||||||
146: "connection refused",
|
{142, "EREMDEV", "unknown error 142"},
|
||||||
147: "host is down",
|
{143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
148: "no route to host",
|
{144, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
149: "operation already in progress",
|
{145, "ETIMEDOUT", "connection timed out"},
|
||||||
150: "operation now in progress",
|
{146, "ECONNREFUSED", "connection refused"},
|
||||||
151: "stale file handle",
|
{147, "EHOSTDOWN", "host is down"},
|
||||||
158: "operation canceled",
|
{148, "EHOSTUNREACH", "no route to host"},
|
||||||
159: "no medium found",
|
{149, "EALREADY", "operation already in progress"},
|
||||||
160: "wrong medium type",
|
{150, "EINPROGRESS", "operation now in progress"},
|
||||||
161: "required key not available",
|
{151, "ESTALE", "stale file handle"},
|
||||||
162: "key has expired",
|
{158, "ECANCELED", "operation canceled"},
|
||||||
163: "key has been revoked",
|
{159, "ENOMEDIUM", "no medium found"},
|
||||||
164: "key was rejected by service",
|
{160, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
165: "owner died",
|
{161, "ENOKEY", "required key not available"},
|
||||||
166: "state not recoverable",
|
{162, "EKEYEXPIRED", "key has expired"},
|
||||||
167: "operation not possible due to RF-kill",
|
{163, "EKEYREVOKED", "key has been revoked"},
|
||||||
168: "memory page has hardware error",
|
{164, "EKEYREJECTED", "key was rejected by service"},
|
||||||
1133: "disk quota exceeded",
|
{165, "EOWNERDEAD", "owner died"},
|
||||||
|
{166, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{167, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{168, "EHWPOISON", "memory page has hardware error"},
|
||||||
|
{1133, "EDQUOT", "disk quota exceeded"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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: "user defined signal 1",
|
{12, "SIGSYS", "bad system call"},
|
||||||
17: "user defined signal 2",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "child exited",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "power failure",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "window changed",
|
{16, "SIGUSR1", "user defined signal 1"},
|
||||||
21: "urgent I/O condition",
|
{17, "SIGUSR2", "user defined signal 2"},
|
||||||
22: "I/O possible",
|
{18, "SIGCHLD", "child exited"},
|
||||||
23: "stopped (signal)",
|
{19, "SIGPWR", "power failure"},
|
||||||
24: "stopped",
|
{20, "SIGWINCH", "window changed"},
|
||||||
25: "continued",
|
{21, "SIGURG", "urgent I/O condition"},
|
||||||
26: "stopped (tty input)",
|
{22, "SIGIO", "I/O possible"},
|
||||||
27: "stopped (tty output)",
|
{23, "SIGSTOP", "stopped (signal)"},
|
||||||
28: "virtual timer expired",
|
{24, "SIGTSTP", "stopped"},
|
||||||
29: "profiling timer expired",
|
{25, "SIGCONT", "continued"},
|
||||||
30: "CPU time limit exceeded",
|
{26, "SIGTTIN", "stopped (tty input)"},
|
||||||
31: "file size limit exceeded",
|
{27, "SIGTTOU", "stopped (tty output)"},
|
||||||
|
{28, "SIGVTALRM", "virtual timer expired"},
|
||||||
|
{29, "SIGPROF", "profiling timer expired"},
|
||||||
|
{30, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
|
{31, "SIGXFSZ", "file size limit exceeded"},
|
||||||
}
|
}
|
||||||
+175
-167
@@ -2275,174 +2275,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"},
|
||||||
35: "no message of desired type",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "identifier removed",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "channel number out of range",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "level 2 not synchronized",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "level 3 halted",
|
{35, "ENOMSG", "no message of desired type"},
|
||||||
40: "level 3 reset",
|
{36, "EIDRM", "identifier removed"},
|
||||||
41: "link number out of range",
|
{37, "ECHRNG", "channel number out of range"},
|
||||||
42: "protocol driver not attached",
|
{38, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
43: "no CSI structure available",
|
{39, "EL3HLT", "level 3 halted"},
|
||||||
44: "level 2 halted",
|
{40, "EL3RST", "level 3 reset"},
|
||||||
45: "resource deadlock avoided",
|
{41, "ELNRNG", "link number out of range"},
|
||||||
46: "no locks available",
|
{42, "EUNATCH", "protocol driver not attached"},
|
||||||
50: "invalid exchange",
|
{43, "ENOCSI", "no CSI structure available"},
|
||||||
51: "invalid request descriptor",
|
{44, "EL2HLT", "level 2 halted"},
|
||||||
52: "exchange full",
|
{45, "EDEADLK", "resource deadlock avoided"},
|
||||||
53: "no anode",
|
{46, "ENOLCK", "no locks available"},
|
||||||
54: "invalid request code",
|
{50, "EBADE", "invalid exchange"},
|
||||||
55: "invalid slot",
|
{51, "EBADR", "invalid request descriptor"},
|
||||||
56: "file locking deadlock error",
|
{52, "EXFULL", "exchange full"},
|
||||||
59: "bad font file format",
|
{53, "ENOANO", "no anode"},
|
||||||
60: "device not a stream",
|
{54, "EBADRQC", "invalid request code"},
|
||||||
61: "no data available",
|
{55, "EBADSLT", "invalid slot"},
|
||||||
62: "timer expired",
|
{56, "EDEADLOCK", "file locking deadlock error"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
73: "RFS specific error",
|
{68, "EADV", "advertise error"},
|
||||||
74: "multihop attempted",
|
{69, "ESRMNT", "srmount error"},
|
||||||
77: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
78: "file name too long",
|
{71, "EPROTO", "protocol error"},
|
||||||
79: "value too large for defined data type",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
80: "name not unique on network",
|
{74, "EMULTIHOP", "multihop attempted"},
|
||||||
81: "file descriptor in bad state",
|
{77, "EBADMSG", "bad message"},
|
||||||
82: "remote address changed",
|
{78, "ENAMETOOLONG", "file name too long"},
|
||||||
83: "can not access a needed shared library",
|
{79, "EOVERFLOW", "value too large for defined data type"},
|
||||||
84: "accessing a corrupted shared library",
|
{80, "ENOTUNIQ", "name not unique on network"},
|
||||||
85: ".lib section in a.out corrupted",
|
{81, "EBADFD", "file descriptor in bad state"},
|
||||||
86: "attempting to link in too many shared libraries",
|
{82, "EREMCHG", "remote address changed"},
|
||||||
87: "cannot exec a shared library directly",
|
{83, "ELIBACC", "can not access a needed shared library"},
|
||||||
88: "invalid or incomplete multibyte or wide character",
|
{84, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
89: "function not implemented",
|
{85, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
90: "too many levels of symbolic links",
|
{86, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
91: "interrupted system call should be restarted",
|
{87, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
92: "streams pipe error",
|
{88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
93: "directory not empty",
|
{89, "ENOSYS", "function not implemented"},
|
||||||
94: "too many users",
|
{90, "ELOOP", "too many levels of symbolic links"},
|
||||||
95: "socket operation on non-socket",
|
{91, "ERESTART", "interrupted system call should be restarted"},
|
||||||
96: "destination address required",
|
{92, "ESTRPIPE", "streams pipe error"},
|
||||||
97: "message too long",
|
{93, "ENOTEMPTY", "directory not empty"},
|
||||||
98: "protocol wrong type for socket",
|
{94, "EUSERS", "too many users"},
|
||||||
99: "protocol not available",
|
{95, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
120: "protocol not supported",
|
{96, "EDESTADDRREQ", "destination address required"},
|
||||||
121: "socket type not supported",
|
{97, "EMSGSIZE", "message too long"},
|
||||||
122: "operation not supported",
|
{98, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
123: "protocol family not supported",
|
{99, "ENOPROTOOPT", "protocol not available"},
|
||||||
124: "address family not supported by protocol",
|
{120, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
125: "address already in use",
|
{121, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
126: "cannot assign requested address",
|
{122, "ENOTSUP", "operation not supported"},
|
||||||
127: "network is down",
|
{123, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
128: "network is unreachable",
|
{124, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
129: "network dropped connection on reset",
|
{125, "EADDRINUSE", "address already in use"},
|
||||||
130: "software caused connection abort",
|
{126, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
131: "connection reset by peer",
|
{127, "ENETDOWN", "network is down"},
|
||||||
132: "no buffer space available",
|
{128, "ENETUNREACH", "network is unreachable"},
|
||||||
133: "transport endpoint is already connected",
|
{129, "ENETRESET", "network dropped connection on reset"},
|
||||||
134: "transport endpoint is not connected",
|
{130, "ECONNABORTED", "software caused connection abort"},
|
||||||
135: "structure needs cleaning",
|
{131, "ECONNRESET", "connection reset by peer"},
|
||||||
137: "not a XENIX named type file",
|
{132, "ENOBUFS", "no buffer space available"},
|
||||||
138: "no XENIX semaphores available",
|
{133, "EISCONN", "transport endpoint is already connected"},
|
||||||
139: "is a named type file",
|
{134, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
140: "remote I/O error",
|
{135, "EUCLEAN", "structure needs cleaning"},
|
||||||
141: "unknown error 141",
|
{137, "ENOTNAM", "not a XENIX named type file"},
|
||||||
142: "unknown error 142",
|
{138, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
143: "cannot send after transport endpoint shutdown",
|
{139, "EISNAM", "is a named type file"},
|
||||||
144: "too many references: cannot splice",
|
{140, "EREMOTEIO", "remote I/O error"},
|
||||||
145: "connection timed out",
|
{141, "EINIT", "unknown error 141"},
|
||||||
146: "connection refused",
|
{142, "EREMDEV", "unknown error 142"},
|
||||||
147: "host is down",
|
{143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
148: "no route to host",
|
{144, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
149: "operation already in progress",
|
{145, "ETIMEDOUT", "connection timed out"},
|
||||||
150: "operation now in progress",
|
{146, "ECONNREFUSED", "connection refused"},
|
||||||
151: "stale file handle",
|
{147, "EHOSTDOWN", "host is down"},
|
||||||
158: "operation canceled",
|
{148, "EHOSTUNREACH", "no route to host"},
|
||||||
159: "no medium found",
|
{149, "EALREADY", "operation already in progress"},
|
||||||
160: "wrong medium type",
|
{150, "EINPROGRESS", "operation now in progress"},
|
||||||
161: "required key not available",
|
{151, "ESTALE", "stale file handle"},
|
||||||
162: "key has expired",
|
{158, "ECANCELED", "operation canceled"},
|
||||||
163: "key has been revoked",
|
{159, "ENOMEDIUM", "no medium found"},
|
||||||
164: "key was rejected by service",
|
{160, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
165: "owner died",
|
{161, "ENOKEY", "required key not available"},
|
||||||
166: "state not recoverable",
|
{162, "EKEYEXPIRED", "key has expired"},
|
||||||
167: "operation not possible due to RF-kill",
|
{163, "EKEYREVOKED", "key has been revoked"},
|
||||||
168: "memory page has hardware error",
|
{164, "EKEYREJECTED", "key was rejected by service"},
|
||||||
1133: "disk quota exceeded",
|
{165, "EOWNERDEAD", "owner died"},
|
||||||
|
{166, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{167, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{168, "EHWPOISON", "memory page has hardware error"},
|
||||||
|
{1133, "EDQUOT", "disk quota exceeded"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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: "user defined signal 1",
|
{12, "SIGSYS", "bad system call"},
|
||||||
17: "user defined signal 2",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "child exited",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "power failure",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "window changed",
|
{16, "SIGUSR1", "user defined signal 1"},
|
||||||
21: "urgent I/O condition",
|
{17, "SIGUSR2", "user defined signal 2"},
|
||||||
22: "I/O possible",
|
{18, "SIGCHLD", "child exited"},
|
||||||
23: "stopped (signal)",
|
{19, "SIGPWR", "power failure"},
|
||||||
24: "stopped",
|
{20, "SIGWINCH", "window changed"},
|
||||||
25: "continued",
|
{21, "SIGURG", "urgent I/O condition"},
|
||||||
26: "stopped (tty input)",
|
{22, "SIGIO", "I/O possible"},
|
||||||
27: "stopped (tty output)",
|
{23, "SIGSTOP", "stopped (signal)"},
|
||||||
28: "virtual timer expired",
|
{24, "SIGTSTP", "stopped"},
|
||||||
29: "profiling timer expired",
|
{25, "SIGCONT", "continued"},
|
||||||
30: "CPU time limit exceeded",
|
{26, "SIGTTIN", "stopped (tty input)"},
|
||||||
31: "file size limit exceeded",
|
{27, "SIGTTOU", "stopped (tty output)"},
|
||||||
|
{28, "SIGVTALRM", "virtual timer expired"},
|
||||||
|
{29, "SIGPROF", "profiling timer expired"},
|
||||||
|
{30, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
|
{31, "SIGXFSZ", "file size limit exceeded"},
|
||||||
}
|
}
|
||||||
+175
-167
@@ -2275,174 +2275,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"},
|
||||||
35: "no message of desired type",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "identifier removed",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "channel number out of range",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "level 2 not synchronized",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "level 3 halted",
|
{35, "ENOMSG", "no message of desired type"},
|
||||||
40: "level 3 reset",
|
{36, "EIDRM", "identifier removed"},
|
||||||
41: "link number out of range",
|
{37, "ECHRNG", "channel number out of range"},
|
||||||
42: "protocol driver not attached",
|
{38, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
43: "no CSI structure available",
|
{39, "EL3HLT", "level 3 halted"},
|
||||||
44: "level 2 halted",
|
{40, "EL3RST", "level 3 reset"},
|
||||||
45: "resource deadlock avoided",
|
{41, "ELNRNG", "link number out of range"},
|
||||||
46: "no locks available",
|
{42, "EUNATCH", "protocol driver not attached"},
|
||||||
50: "invalid exchange",
|
{43, "ENOCSI", "no CSI structure available"},
|
||||||
51: "invalid request descriptor",
|
{44, "EL2HLT", "level 2 halted"},
|
||||||
52: "exchange full",
|
{45, "EDEADLK", "resource deadlock avoided"},
|
||||||
53: "no anode",
|
{46, "ENOLCK", "no locks available"},
|
||||||
54: "invalid request code",
|
{50, "EBADE", "invalid exchange"},
|
||||||
55: "invalid slot",
|
{51, "EBADR", "invalid request descriptor"},
|
||||||
56: "file locking deadlock error",
|
{52, "EXFULL", "exchange full"},
|
||||||
59: "bad font file format",
|
{53, "ENOANO", "no anode"},
|
||||||
60: "device not a stream",
|
{54, "EBADRQC", "invalid request code"},
|
||||||
61: "no data available",
|
{55, "EBADSLT", "invalid slot"},
|
||||||
62: "timer expired",
|
{56, "EDEADLOCK", "file locking deadlock error"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
73: "RFS specific error",
|
{68, "EADV", "advertise error"},
|
||||||
74: "multihop attempted",
|
{69, "ESRMNT", "srmount error"},
|
||||||
77: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
78: "file name too long",
|
{71, "EPROTO", "protocol error"},
|
||||||
79: "value too large for defined data type",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
80: "name not unique on network",
|
{74, "EMULTIHOP", "multihop attempted"},
|
||||||
81: "file descriptor in bad state",
|
{77, "EBADMSG", "bad message"},
|
||||||
82: "remote address changed",
|
{78, "ENAMETOOLONG", "file name too long"},
|
||||||
83: "can not access a needed shared library",
|
{79, "EOVERFLOW", "value too large for defined data type"},
|
||||||
84: "accessing a corrupted shared library",
|
{80, "ENOTUNIQ", "name not unique on network"},
|
||||||
85: ".lib section in a.out corrupted",
|
{81, "EBADFD", "file descriptor in bad state"},
|
||||||
86: "attempting to link in too many shared libraries",
|
{82, "EREMCHG", "remote address changed"},
|
||||||
87: "cannot exec a shared library directly",
|
{83, "ELIBACC", "can not access a needed shared library"},
|
||||||
88: "invalid or incomplete multibyte or wide character",
|
{84, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
89: "function not implemented",
|
{85, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
90: "too many levels of symbolic links",
|
{86, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
91: "interrupted system call should be restarted",
|
{87, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
92: "streams pipe error",
|
{88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
93: "directory not empty",
|
{89, "ENOSYS", "function not implemented"},
|
||||||
94: "too many users",
|
{90, "ELOOP", "too many levels of symbolic links"},
|
||||||
95: "socket operation on non-socket",
|
{91, "ERESTART", "interrupted system call should be restarted"},
|
||||||
96: "destination address required",
|
{92, "ESTRPIPE", "streams pipe error"},
|
||||||
97: "message too long",
|
{93, "ENOTEMPTY", "directory not empty"},
|
||||||
98: "protocol wrong type for socket",
|
{94, "EUSERS", "too many users"},
|
||||||
99: "protocol not available",
|
{95, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
120: "protocol not supported",
|
{96, "EDESTADDRREQ", "destination address required"},
|
||||||
121: "socket type not supported",
|
{97, "EMSGSIZE", "message too long"},
|
||||||
122: "operation not supported",
|
{98, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
123: "protocol family not supported",
|
{99, "ENOPROTOOPT", "protocol not available"},
|
||||||
124: "address family not supported by protocol",
|
{120, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
125: "address already in use",
|
{121, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
126: "cannot assign requested address",
|
{122, "ENOTSUP", "operation not supported"},
|
||||||
127: "network is down",
|
{123, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
128: "network is unreachable",
|
{124, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
129: "network dropped connection on reset",
|
{125, "EADDRINUSE", "address already in use"},
|
||||||
130: "software caused connection abort",
|
{126, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
131: "connection reset by peer",
|
{127, "ENETDOWN", "network is down"},
|
||||||
132: "no buffer space available",
|
{128, "ENETUNREACH", "network is unreachable"},
|
||||||
133: "transport endpoint is already connected",
|
{129, "ENETRESET", "network dropped connection on reset"},
|
||||||
134: "transport endpoint is not connected",
|
{130, "ECONNABORTED", "software caused connection abort"},
|
||||||
135: "structure needs cleaning",
|
{131, "ECONNRESET", "connection reset by peer"},
|
||||||
137: "not a XENIX named type file",
|
{132, "ENOBUFS", "no buffer space available"},
|
||||||
138: "no XENIX semaphores available",
|
{133, "EISCONN", "transport endpoint is already connected"},
|
||||||
139: "is a named type file",
|
{134, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
140: "remote I/O error",
|
{135, "EUCLEAN", "structure needs cleaning"},
|
||||||
141: "unknown error 141",
|
{137, "ENOTNAM", "not a XENIX named type file"},
|
||||||
142: "unknown error 142",
|
{138, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
143: "cannot send after transport endpoint shutdown",
|
{139, "EISNAM", "is a named type file"},
|
||||||
144: "too many references: cannot splice",
|
{140, "EREMOTEIO", "remote I/O error"},
|
||||||
145: "connection timed out",
|
{141, "EINIT", "unknown error 141"},
|
||||||
146: "connection refused",
|
{142, "EREMDEV", "unknown error 142"},
|
||||||
147: "host is down",
|
{143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
148: "no route to host",
|
{144, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
149: "operation already in progress",
|
{145, "ETIMEDOUT", "connection timed out"},
|
||||||
150: "operation now in progress",
|
{146, "ECONNREFUSED", "connection refused"},
|
||||||
151: "stale file handle",
|
{147, "EHOSTDOWN", "host is down"},
|
||||||
158: "operation canceled",
|
{148, "EHOSTUNREACH", "no route to host"},
|
||||||
159: "no medium found",
|
{149, "EALREADY", "operation already in progress"},
|
||||||
160: "wrong medium type",
|
{150, "EINPROGRESS", "operation now in progress"},
|
||||||
161: "required key not available",
|
{151, "ESTALE", "stale file handle"},
|
||||||
162: "key has expired",
|
{158, "ECANCELED", "operation canceled"},
|
||||||
163: "key has been revoked",
|
{159, "ENOMEDIUM", "no medium found"},
|
||||||
164: "key was rejected by service",
|
{160, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
165: "owner died",
|
{161, "ENOKEY", "required key not available"},
|
||||||
166: "state not recoverable",
|
{162, "EKEYEXPIRED", "key has expired"},
|
||||||
167: "operation not possible due to RF-kill",
|
{163, "EKEYREVOKED", "key has been revoked"},
|
||||||
168: "memory page has hardware error",
|
{164, "EKEYREJECTED", "key was rejected by service"},
|
||||||
1133: "disk quota exceeded",
|
{165, "EOWNERDEAD", "owner died"},
|
||||||
|
{166, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{167, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{168, "EHWPOISON", "memory page has hardware error"},
|
||||||
|
{1133, "EDQUOT", "disk quota exceeded"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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: "user defined signal 1",
|
{12, "SIGSYS", "bad system call"},
|
||||||
17: "user defined signal 2",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "child exited",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "power failure",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "window changed",
|
{16, "SIGUSR1", "user defined signal 1"},
|
||||||
21: "urgent I/O condition",
|
{17, "SIGUSR2", "user defined signal 2"},
|
||||||
22: "I/O possible",
|
{18, "SIGCHLD", "child exited"},
|
||||||
23: "stopped (signal)",
|
{19, "SIGPWR", "power failure"},
|
||||||
24: "stopped",
|
{20, "SIGWINCH", "window changed"},
|
||||||
25: "continued",
|
{21, "SIGURG", "urgent I/O condition"},
|
||||||
26: "stopped (tty input)",
|
{22, "SIGIO", "I/O possible"},
|
||||||
27: "stopped (tty output)",
|
{23, "SIGSTOP", "stopped (signal)"},
|
||||||
28: "virtual timer expired",
|
{24, "SIGTSTP", "stopped"},
|
||||||
29: "profiling timer expired",
|
{25, "SIGCONT", "continued"},
|
||||||
30: "CPU time limit exceeded",
|
{26, "SIGTTIN", "stopped (tty input)"},
|
||||||
31: "file size limit exceeded",
|
{27, "SIGTTOU", "stopped (tty output)"},
|
||||||
|
{28, "SIGVTALRM", "virtual timer expired"},
|
||||||
|
{29, "SIGPROF", "profiling timer expired"},
|
||||||
|
{30, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
|
{31, "SIGXFSZ", "file size limit exceeded"},
|
||||||
}
|
}
|
||||||
+173
-165
@@ -2330,172 +2330,180 @@ 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"},
|
||||||
35: "resource deadlock avoided",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "file name too long",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "no locks available",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "function not implemented",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "directory not empty",
|
{35, "EDEADLK", "resource deadlock avoided"},
|
||||||
40: "too many levels of symbolic links",
|
{36, "ENAMETOOLONG", "file name too long"},
|
||||||
42: "no message of desired type",
|
{37, "ENOLCK", "no locks available"},
|
||||||
43: "identifier removed",
|
{38, "ENOSYS", "function not implemented"},
|
||||||
44: "channel number out of range",
|
{39, "ENOTEMPTY", "directory not empty"},
|
||||||
45: "level 2 not synchronized",
|
{40, "ELOOP", "too many levels of symbolic links"},
|
||||||
46: "level 3 halted",
|
{42, "ENOMSG", "no message of desired type"},
|
||||||
47: "level 3 reset",
|
{43, "EIDRM", "identifier removed"},
|
||||||
48: "link number out of range",
|
{44, "ECHRNG", "channel number out of range"},
|
||||||
49: "protocol driver not attached",
|
{45, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
50: "no CSI structure available",
|
{46, "EL3HLT", "level 3 halted"},
|
||||||
51: "level 2 halted",
|
{47, "EL3RST", "level 3 reset"},
|
||||||
52: "invalid exchange",
|
{48, "ELNRNG", "link number out of range"},
|
||||||
53: "invalid request descriptor",
|
{49, "EUNATCH", "protocol driver not attached"},
|
||||||
54: "exchange full",
|
{50, "ENOCSI", "no CSI structure available"},
|
||||||
55: "no anode",
|
{51, "EL2HLT", "level 2 halted"},
|
||||||
56: "invalid request code",
|
{52, "EBADE", "invalid exchange"},
|
||||||
57: "invalid slot",
|
{53, "EBADR", "invalid request descriptor"},
|
||||||
58: "file locking deadlock error",
|
{54, "EXFULL", "exchange full"},
|
||||||
59: "bad font file format",
|
{55, "ENOANO", "no anode"},
|
||||||
60: "device not a stream",
|
{56, "EBADRQC", "invalid request code"},
|
||||||
61: "no data available",
|
{57, "EBADSLT", "invalid slot"},
|
||||||
62: "timer expired",
|
{58, "EDEADLOCK", "file locking deadlock error"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
72: "multihop attempted",
|
{68, "EADV", "advertise error"},
|
||||||
73: "RFS specific error",
|
{69, "ESRMNT", "srmount error"},
|
||||||
74: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
75: "value too large for defined data type",
|
{71, "EPROTO", "protocol error"},
|
||||||
76: "name not unique on network",
|
{72, "EMULTIHOP", "multihop attempted"},
|
||||||
77: "file descriptor in bad state",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
78: "remote address changed",
|
{74, "EBADMSG", "bad message"},
|
||||||
79: "can not access a needed shared library",
|
{75, "EOVERFLOW", "value too large for defined data type"},
|
||||||
80: "accessing a corrupted shared library",
|
{76, "ENOTUNIQ", "name not unique on network"},
|
||||||
81: ".lib section in a.out corrupted",
|
{77, "EBADFD", "file descriptor in bad state"},
|
||||||
82: "attempting to link in too many shared libraries",
|
{78, "EREMCHG", "remote address changed"},
|
||||||
83: "cannot exec a shared library directly",
|
{79, "ELIBACC", "can not access a needed shared library"},
|
||||||
84: "invalid or incomplete multibyte or wide character",
|
{80, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
85: "interrupted system call should be restarted",
|
{81, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
86: "streams pipe error",
|
{82, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
87: "too many users",
|
{83, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
88: "socket operation on non-socket",
|
{84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
89: "destination address required",
|
{85, "ERESTART", "interrupted system call should be restarted"},
|
||||||
90: "message too long",
|
{86, "ESTRPIPE", "streams pipe error"},
|
||||||
91: "protocol wrong type for socket",
|
{87, "EUSERS", "too many users"},
|
||||||
92: "protocol not available",
|
{88, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
93: "protocol not supported",
|
{89, "EDESTADDRREQ", "destination address required"},
|
||||||
94: "socket type not supported",
|
{90, "EMSGSIZE", "message too long"},
|
||||||
95: "operation not supported",
|
{91, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
96: "protocol family not supported",
|
{92, "ENOPROTOOPT", "protocol not available"},
|
||||||
97: "address family not supported by protocol",
|
{93, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
98: "address already in use",
|
{94, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
99: "cannot assign requested address",
|
{95, "ENOTSUP", "operation not supported"},
|
||||||
100: "network is down",
|
{96, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
101: "network is unreachable",
|
{97, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
102: "network dropped connection on reset",
|
{98, "EADDRINUSE", "address already in use"},
|
||||||
103: "software caused connection abort",
|
{99, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
104: "connection reset by peer",
|
{100, "ENETDOWN", "network is down"},
|
||||||
105: "no buffer space available",
|
{101, "ENETUNREACH", "network is unreachable"},
|
||||||
106: "transport endpoint is already connected",
|
{102, "ENETRESET", "network dropped connection on reset"},
|
||||||
107: "transport endpoint is not connected",
|
{103, "ECONNABORTED", "software caused connection abort"},
|
||||||
108: "cannot send after transport endpoint shutdown",
|
{104, "ECONNRESET", "connection reset by peer"},
|
||||||
109: "too many references: cannot splice",
|
{105, "ENOBUFS", "no buffer space available"},
|
||||||
110: "connection timed out",
|
{106, "EISCONN", "transport endpoint is already connected"},
|
||||||
111: "connection refused",
|
{107, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
112: "host is down",
|
{108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
113: "no route to host",
|
{109, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
114: "operation already in progress",
|
{110, "ETIMEDOUT", "connection timed out"},
|
||||||
115: "operation now in progress",
|
{111, "ECONNREFUSED", "connection refused"},
|
||||||
116: "stale file handle",
|
{112, "EHOSTDOWN", "host is down"},
|
||||||
117: "structure needs cleaning",
|
{113, "EHOSTUNREACH", "no route to host"},
|
||||||
118: "not a XENIX named type file",
|
{114, "EALREADY", "operation already in progress"},
|
||||||
119: "no XENIX semaphores available",
|
{115, "EINPROGRESS", "operation now in progress"},
|
||||||
120: "is a named type file",
|
{116, "ESTALE", "stale file handle"},
|
||||||
121: "remote I/O error",
|
{117, "EUCLEAN", "structure needs cleaning"},
|
||||||
122: "disk quota exceeded",
|
{118, "ENOTNAM", "not a XENIX named type file"},
|
||||||
123: "no medium found",
|
{119, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
124: "wrong medium type",
|
{120, "EISNAM", "is a named type file"},
|
||||||
125: "operation canceled",
|
{121, "EREMOTEIO", "remote I/O error"},
|
||||||
126: "required key not available",
|
{122, "EDQUOT", "disk quota exceeded"},
|
||||||
127: "key has expired",
|
{123, "ENOMEDIUM", "no medium found"},
|
||||||
128: "key has been revoked",
|
{124, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
129: "key was rejected by service",
|
{125, "ECANCELED", "operation canceled"},
|
||||||
130: "owner died",
|
{126, "ENOKEY", "required key not available"},
|
||||||
131: "state not recoverable",
|
{127, "EKEYEXPIRED", "key has expired"},
|
||||||
132: "operation not possible due to RF-kill",
|
{128, "EKEYREVOKED", "key has been revoked"},
|
||||||
133: "memory page has hardware error",
|
{129, "EKEYREJECTED", "key was rejected by service"},
|
||||||
|
{130, "EOWNERDEAD", "owner died"},
|
||||||
|
{131, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{132, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{133, "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: "bus error",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/breakpoint trap"},
|
||||||
10: "user defined signal 1",
|
{6, "SIGABRT", "aborted"},
|
||||||
11: "segmentation fault",
|
{7, "SIGBUS", "bus error"},
|
||||||
12: "user defined signal 2",
|
{8, "SIGFPE", "floating point exception"},
|
||||||
13: "broken pipe",
|
{9, "SIGKILL", "killed"},
|
||||||
14: "alarm clock",
|
{10, "SIGUSR1", "user defined signal 1"},
|
||||||
15: "terminated",
|
{11, "SIGSEGV", "segmentation fault"},
|
||||||
16: "stack fault",
|
{12, "SIGUSR2", "user defined signal 2"},
|
||||||
17: "child exited",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "continued",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "stopped (signal)",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "stopped",
|
{16, "SIGSTKFLT", "stack fault"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGCHLD", "child exited"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGCONT", "continued"},
|
||||||
23: "urgent I/O condition",
|
{19, "SIGSTOP", "stopped (signal)"},
|
||||||
24: "CPU time limit exceeded",
|
{20, "SIGTSTP", "stopped"},
|
||||||
25: "file size limit exceeded",
|
{21, "SIGTTIN", "stopped (tty input)"},
|
||||||
26: "virtual timer expired",
|
{22, "SIGTTOU", "stopped (tty output)"},
|
||||||
27: "profiling timer expired",
|
{23, "SIGURG", "urgent I/O condition"},
|
||||||
28: "window changed",
|
{24, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
29: "I/O possible",
|
{25, "SIGXFSZ", "file size limit exceeded"},
|
||||||
30: "power failure",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "bad system call",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
|
{28, "SIGWINCH", "window changed"},
|
||||||
|
{29, "SIGIO", "I/O possible"},
|
||||||
|
{30, "SIGPWR", "power failure"},
|
||||||
|
{31, "SIGSYS", "bad system call"},
|
||||||
}
|
}
|
||||||
+173
-165
@@ -2330,172 +2330,180 @@ 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"},
|
||||||
35: "resource deadlock avoided",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "file name too long",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "no locks available",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "function not implemented",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "directory not empty",
|
{35, "EDEADLK", "resource deadlock avoided"},
|
||||||
40: "too many levels of symbolic links",
|
{36, "ENAMETOOLONG", "file name too long"},
|
||||||
42: "no message of desired type",
|
{37, "ENOLCK", "no locks available"},
|
||||||
43: "identifier removed",
|
{38, "ENOSYS", "function not implemented"},
|
||||||
44: "channel number out of range",
|
{39, "ENOTEMPTY", "directory not empty"},
|
||||||
45: "level 2 not synchronized",
|
{40, "ELOOP", "too many levels of symbolic links"},
|
||||||
46: "level 3 halted",
|
{42, "ENOMSG", "no message of desired type"},
|
||||||
47: "level 3 reset",
|
{43, "EIDRM", "identifier removed"},
|
||||||
48: "link number out of range",
|
{44, "ECHRNG", "channel number out of range"},
|
||||||
49: "protocol driver not attached",
|
{45, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
50: "no CSI structure available",
|
{46, "EL3HLT", "level 3 halted"},
|
||||||
51: "level 2 halted",
|
{47, "EL3RST", "level 3 reset"},
|
||||||
52: "invalid exchange",
|
{48, "ELNRNG", "link number out of range"},
|
||||||
53: "invalid request descriptor",
|
{49, "EUNATCH", "protocol driver not attached"},
|
||||||
54: "exchange full",
|
{50, "ENOCSI", "no CSI structure available"},
|
||||||
55: "no anode",
|
{51, "EL2HLT", "level 2 halted"},
|
||||||
56: "invalid request code",
|
{52, "EBADE", "invalid exchange"},
|
||||||
57: "invalid slot",
|
{53, "EBADR", "invalid request descriptor"},
|
||||||
58: "file locking deadlock error",
|
{54, "EXFULL", "exchange full"},
|
||||||
59: "bad font file format",
|
{55, "ENOANO", "no anode"},
|
||||||
60: "device not a stream",
|
{56, "EBADRQC", "invalid request code"},
|
||||||
61: "no data available",
|
{57, "EBADSLT", "invalid slot"},
|
||||||
62: "timer expired",
|
{58, "EDEADLOCK", "file locking deadlock error"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
72: "multihop attempted",
|
{68, "EADV", "advertise error"},
|
||||||
73: "RFS specific error",
|
{69, "ESRMNT", "srmount error"},
|
||||||
74: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
75: "value too large for defined data type",
|
{71, "EPROTO", "protocol error"},
|
||||||
76: "name not unique on network",
|
{72, "EMULTIHOP", "multihop attempted"},
|
||||||
77: "file descriptor in bad state",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
78: "remote address changed",
|
{74, "EBADMSG", "bad message"},
|
||||||
79: "can not access a needed shared library",
|
{75, "EOVERFLOW", "value too large for defined data type"},
|
||||||
80: "accessing a corrupted shared library",
|
{76, "ENOTUNIQ", "name not unique on network"},
|
||||||
81: ".lib section in a.out corrupted",
|
{77, "EBADFD", "file descriptor in bad state"},
|
||||||
82: "attempting to link in too many shared libraries",
|
{78, "EREMCHG", "remote address changed"},
|
||||||
83: "cannot exec a shared library directly",
|
{79, "ELIBACC", "can not access a needed shared library"},
|
||||||
84: "invalid or incomplete multibyte or wide character",
|
{80, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
85: "interrupted system call should be restarted",
|
{81, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
86: "streams pipe error",
|
{82, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
87: "too many users",
|
{83, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
88: "socket operation on non-socket",
|
{84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
89: "destination address required",
|
{85, "ERESTART", "interrupted system call should be restarted"},
|
||||||
90: "message too long",
|
{86, "ESTRPIPE", "streams pipe error"},
|
||||||
91: "protocol wrong type for socket",
|
{87, "EUSERS", "too many users"},
|
||||||
92: "protocol not available",
|
{88, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
93: "protocol not supported",
|
{89, "EDESTADDRREQ", "destination address required"},
|
||||||
94: "socket type not supported",
|
{90, "EMSGSIZE", "message too long"},
|
||||||
95: "operation not supported",
|
{91, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
96: "protocol family not supported",
|
{92, "ENOPROTOOPT", "protocol not available"},
|
||||||
97: "address family not supported by protocol",
|
{93, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
98: "address already in use",
|
{94, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
99: "cannot assign requested address",
|
{95, "ENOTSUP", "operation not supported"},
|
||||||
100: "network is down",
|
{96, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
101: "network is unreachable",
|
{97, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
102: "network dropped connection on reset",
|
{98, "EADDRINUSE", "address already in use"},
|
||||||
103: "software caused connection abort",
|
{99, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
104: "connection reset by peer",
|
{100, "ENETDOWN", "network is down"},
|
||||||
105: "no buffer space available",
|
{101, "ENETUNREACH", "network is unreachable"},
|
||||||
106: "transport endpoint is already connected",
|
{102, "ENETRESET", "network dropped connection on reset"},
|
||||||
107: "transport endpoint is not connected",
|
{103, "ECONNABORTED", "software caused connection abort"},
|
||||||
108: "cannot send after transport endpoint shutdown",
|
{104, "ECONNRESET", "connection reset by peer"},
|
||||||
109: "too many references: cannot splice",
|
{105, "ENOBUFS", "no buffer space available"},
|
||||||
110: "connection timed out",
|
{106, "EISCONN", "transport endpoint is already connected"},
|
||||||
111: "connection refused",
|
{107, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
112: "host is down",
|
{108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
113: "no route to host",
|
{109, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
114: "operation already in progress",
|
{110, "ETIMEDOUT", "connection timed out"},
|
||||||
115: "operation now in progress",
|
{111, "ECONNREFUSED", "connection refused"},
|
||||||
116: "stale file handle",
|
{112, "EHOSTDOWN", "host is down"},
|
||||||
117: "structure needs cleaning",
|
{113, "EHOSTUNREACH", "no route to host"},
|
||||||
118: "not a XENIX named type file",
|
{114, "EALREADY", "operation already in progress"},
|
||||||
119: "no XENIX semaphores available",
|
{115, "EINPROGRESS", "operation now in progress"},
|
||||||
120: "is a named type file",
|
{116, "ESTALE", "stale file handle"},
|
||||||
121: "remote I/O error",
|
{117, "EUCLEAN", "structure needs cleaning"},
|
||||||
122: "disk quota exceeded",
|
{118, "ENOTNAM", "not a XENIX named type file"},
|
||||||
123: "no medium found",
|
{119, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
124: "wrong medium type",
|
{120, "EISNAM", "is a named type file"},
|
||||||
125: "operation canceled",
|
{121, "EREMOTEIO", "remote I/O error"},
|
||||||
126: "required key not available",
|
{122, "EDQUOT", "disk quota exceeded"},
|
||||||
127: "key has expired",
|
{123, "ENOMEDIUM", "no medium found"},
|
||||||
128: "key has been revoked",
|
{124, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
129: "key was rejected by service",
|
{125, "ECANCELED", "operation canceled"},
|
||||||
130: "owner died",
|
{126, "ENOKEY", "required key not available"},
|
||||||
131: "state not recoverable",
|
{127, "EKEYEXPIRED", "key has expired"},
|
||||||
132: "operation not possible due to RF-kill",
|
{128, "EKEYREVOKED", "key has been revoked"},
|
||||||
133: "memory page has hardware error",
|
{129, "EKEYREJECTED", "key was rejected by service"},
|
||||||
|
{130, "EOWNERDEAD", "owner died"},
|
||||||
|
{131, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{132, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{133, "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: "bus error",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/breakpoint trap"},
|
||||||
10: "user defined signal 1",
|
{6, "SIGABRT", "aborted"},
|
||||||
11: "segmentation fault",
|
{7, "SIGBUS", "bus error"},
|
||||||
12: "user defined signal 2",
|
{8, "SIGFPE", "floating point exception"},
|
||||||
13: "broken pipe",
|
{9, "SIGKILL", "killed"},
|
||||||
14: "alarm clock",
|
{10, "SIGUSR1", "user defined signal 1"},
|
||||||
15: "terminated",
|
{11, "SIGSEGV", "segmentation fault"},
|
||||||
16: "stack fault",
|
{12, "SIGUSR2", "user defined signal 2"},
|
||||||
17: "child exited",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "continued",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "stopped (signal)",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "stopped",
|
{16, "SIGSTKFLT", "stack fault"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGCHLD", "child exited"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGCONT", "continued"},
|
||||||
23: "urgent I/O condition",
|
{19, "SIGSTOP", "stopped (signal)"},
|
||||||
24: "CPU time limit exceeded",
|
{20, "SIGTSTP", "stopped"},
|
||||||
25: "file size limit exceeded",
|
{21, "SIGTTIN", "stopped (tty input)"},
|
||||||
26: "virtual timer expired",
|
{22, "SIGTTOU", "stopped (tty output)"},
|
||||||
27: "profiling timer expired",
|
{23, "SIGURG", "urgent I/O condition"},
|
||||||
28: "window changed",
|
{24, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
29: "I/O possible",
|
{25, "SIGXFSZ", "file size limit exceeded"},
|
||||||
30: "power failure",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "bad system call",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
|
{28, "SIGWINCH", "window changed"},
|
||||||
|
{29, "SIGIO", "I/O possible"},
|
||||||
|
{30, "SIGPWR", "power failure"},
|
||||||
|
{31, "SIGSYS", "bad system call"},
|
||||||
}
|
}
|
||||||
+172
-164
@@ -2330,171 +2330,179 @@ 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"},
|
||||||
35: "resource deadlock avoided",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "file name too long",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "no locks available",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "function not implemented",
|
{34, "ERANGE", "numerical result out of range"},
|
||||||
39: "directory not empty",
|
{35, "EDEADLK", "resource deadlock avoided"},
|
||||||
40: "too many levels of symbolic links",
|
{36, "ENAMETOOLONG", "file name too long"},
|
||||||
42: "no message of desired type",
|
{37, "ENOLCK", "no locks available"},
|
||||||
43: "identifier removed",
|
{38, "ENOSYS", "function not implemented"},
|
||||||
44: "channel number out of range",
|
{39, "ENOTEMPTY", "directory not empty"},
|
||||||
45: "level 2 not synchronized",
|
{40, "ELOOP", "too many levels of symbolic links"},
|
||||||
46: "level 3 halted",
|
{42, "ENOMSG", "no message of desired type"},
|
||||||
47: "level 3 reset",
|
{43, "EIDRM", "identifier removed"},
|
||||||
48: "link number out of range",
|
{44, "ECHRNG", "channel number out of range"},
|
||||||
49: "protocol driver not attached",
|
{45, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
50: "no CSI structure available",
|
{46, "EL3HLT", "level 3 halted"},
|
||||||
51: "level 2 halted",
|
{47, "EL3RST", "level 3 reset"},
|
||||||
52: "invalid exchange",
|
{48, "ELNRNG", "link number out of range"},
|
||||||
53: "invalid request descriptor",
|
{49, "EUNATCH", "protocol driver not attached"},
|
||||||
54: "exchange full",
|
{50, "ENOCSI", "no CSI structure available"},
|
||||||
55: "no anode",
|
{51, "EL2HLT", "level 2 halted"},
|
||||||
56: "invalid request code",
|
{52, "EBADE", "invalid exchange"},
|
||||||
57: "invalid slot",
|
{53, "EBADR", "invalid request descriptor"},
|
||||||
59: "bad font file format",
|
{54, "EXFULL", "exchange full"},
|
||||||
60: "device not a stream",
|
{55, "ENOANO", "no anode"},
|
||||||
61: "no data available",
|
{56, "EBADRQC", "invalid request code"},
|
||||||
62: "timer expired",
|
{57, "EBADSLT", "invalid slot"},
|
||||||
63: "out of streams resources",
|
{59, "EBFONT", "bad font file format"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "device not a stream"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of streams resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
72: "multihop attempted",
|
{68, "EADV", "advertise error"},
|
||||||
73: "RFS specific error",
|
{69, "ESRMNT", "srmount error"},
|
||||||
74: "bad message",
|
{70, "ECOMM", "communication error on send"},
|
||||||
75: "value too large for defined data type",
|
{71, "EPROTO", "protocol error"},
|
||||||
76: "name not unique on network",
|
{72, "EMULTIHOP", "multihop attempted"},
|
||||||
77: "file descriptor in bad state",
|
{73, "EDOTDOT", "RFS specific error"},
|
||||||
78: "remote address changed",
|
{74, "EBADMSG", "bad message"},
|
||||||
79: "can not access a needed shared library",
|
{75, "EOVERFLOW", "value too large for defined data type"},
|
||||||
80: "accessing a corrupted shared library",
|
{76, "ENOTUNIQ", "name not unique on network"},
|
||||||
81: ".lib section in a.out corrupted",
|
{77, "EBADFD", "file descriptor in bad state"},
|
||||||
82: "attempting to link in too many shared libraries",
|
{78, "EREMCHG", "remote address changed"},
|
||||||
83: "cannot exec a shared library directly",
|
{79, "ELIBACC", "can not access a needed shared library"},
|
||||||
84: "invalid or incomplete multibyte or wide character",
|
{80, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
85: "interrupted system call should be restarted",
|
{81, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
86: "streams pipe error",
|
{82, "ELIBMAX", "attempting to link in too many shared libraries"},
|
||||||
87: "too many users",
|
{83, "ELIBEXEC", "cannot exec a shared library directly"},
|
||||||
88: "socket operation on non-socket",
|
{84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
||||||
89: "destination address required",
|
{85, "ERESTART", "interrupted system call should be restarted"},
|
||||||
90: "message too long",
|
{86, "ESTRPIPE", "streams pipe error"},
|
||||||
91: "protocol wrong type for socket",
|
{87, "EUSERS", "too many users"},
|
||||||
92: "protocol not available",
|
{88, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
93: "protocol not supported",
|
{89, "EDESTADDRREQ", "destination address required"},
|
||||||
94: "socket type not supported",
|
{90, "EMSGSIZE", "message too long"},
|
||||||
95: "operation not supported",
|
{91, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
96: "protocol family not supported",
|
{92, "ENOPROTOOPT", "protocol not available"},
|
||||||
97: "address family not supported by protocol",
|
{93, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
98: "address already in use",
|
{94, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
99: "cannot assign requested address",
|
{95, "ENOTSUP", "operation not supported"},
|
||||||
100: "network is down",
|
{96, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
101: "network is unreachable",
|
{97, "EAFNOSUPPORT", "address family not supported by protocol"},
|
||||||
102: "network dropped connection on reset",
|
{98, "EADDRINUSE", "address already in use"},
|
||||||
103: "software caused connection abort",
|
{99, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
104: "connection reset by peer",
|
{100, "ENETDOWN", "network is down"},
|
||||||
105: "no buffer space available",
|
{101, "ENETUNREACH", "network is unreachable"},
|
||||||
106: "transport endpoint is already connected",
|
{102, "ENETRESET", "network dropped connection on reset"},
|
||||||
107: "transport endpoint is not connected",
|
{103, "ECONNABORTED", "software caused connection abort"},
|
||||||
108: "cannot send after transport endpoint shutdown",
|
{104, "ECONNRESET", "connection reset by peer"},
|
||||||
109: "too many references: cannot splice",
|
{105, "ENOBUFS", "no buffer space available"},
|
||||||
110: "connection timed out",
|
{106, "EISCONN", "transport endpoint is already connected"},
|
||||||
111: "connection refused",
|
{107, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
112: "host is down",
|
{108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
||||||
113: "no route to host",
|
{109, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
114: "operation already in progress",
|
{110, "ETIMEDOUT", "connection timed out"},
|
||||||
115: "operation now in progress",
|
{111, "ECONNREFUSED", "connection refused"},
|
||||||
116: "stale file handle",
|
{112, "EHOSTDOWN", "host is down"},
|
||||||
117: "structure needs cleaning",
|
{113, "EHOSTUNREACH", "no route to host"},
|
||||||
118: "not a XENIX named type file",
|
{114, "EALREADY", "operation already in progress"},
|
||||||
119: "no XENIX semaphores available",
|
{115, "EINPROGRESS", "operation now in progress"},
|
||||||
120: "is a named type file",
|
{116, "ESTALE", "stale file handle"},
|
||||||
121: "remote I/O error",
|
{117, "EUCLEAN", "structure needs cleaning"},
|
||||||
122: "disk quota exceeded",
|
{118, "ENOTNAM", "not a XENIX named type file"},
|
||||||
123: "no medium found",
|
{119, "ENAVAIL", "no XENIX semaphores available"},
|
||||||
124: "wrong medium type",
|
{120, "EISNAM", "is a named type file"},
|
||||||
125: "operation canceled",
|
{121, "EREMOTEIO", "remote I/O error"},
|
||||||
126: "required key not available",
|
{122, "EDQUOT", "disk quota exceeded"},
|
||||||
127: "key has expired",
|
{123, "ENOMEDIUM", "no medium found"},
|
||||||
128: "key has been revoked",
|
{124, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
129: "key was rejected by service",
|
{125, "ECANCELED", "operation canceled"},
|
||||||
130: "owner died",
|
{126, "ENOKEY", "required key not available"},
|
||||||
131: "state not recoverable",
|
{127, "EKEYEXPIRED", "key has expired"},
|
||||||
132: "operation not possible due to RF-kill",
|
{128, "EKEYREVOKED", "key has been revoked"},
|
||||||
133: "memory page has hardware error",
|
{129, "EKEYREJECTED", "key was rejected by service"},
|
||||||
|
{130, "EOWNERDEAD", "owner died"},
|
||||||
|
{131, "ENOTRECOVERABLE", "state not recoverable"},
|
||||||
|
{132, "ERFKILL", "operation not possible due to RF-kill"},
|
||||||
|
{133, "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: "bus error",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/breakpoint trap"},
|
||||||
10: "user defined signal 1",
|
{6, "SIGABRT", "aborted"},
|
||||||
11: "segmentation fault",
|
{7, "SIGBUS", "bus error"},
|
||||||
12: "user defined signal 2",
|
{8, "SIGFPE", "floating point exception"},
|
||||||
13: "broken pipe",
|
{9, "SIGKILL", "killed"},
|
||||||
14: "alarm clock",
|
{10, "SIGUSR1", "user defined signal 1"},
|
||||||
15: "terminated",
|
{11, "SIGSEGV", "segmentation fault"},
|
||||||
16: "stack fault",
|
{12, "SIGUSR2", "user defined signal 2"},
|
||||||
17: "child exited",
|
{13, "SIGPIPE", "broken pipe"},
|
||||||
18: "continued",
|
{14, "SIGALRM", "alarm clock"},
|
||||||
19: "stopped (signal)",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "stopped",
|
{16, "SIGSTKFLT", "stack fault"},
|
||||||
21: "stopped (tty input)",
|
{17, "SIGCHLD", "child exited"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGCONT", "continued"},
|
||||||
23: "urgent I/O condition",
|
{19, "SIGSTOP", "stopped (signal)"},
|
||||||
24: "CPU time limit exceeded",
|
{20, "SIGTSTP", "stopped"},
|
||||||
25: "file size limit exceeded",
|
{21, "SIGTTIN", "stopped (tty input)"},
|
||||||
26: "virtual timer expired",
|
{22, "SIGTTOU", "stopped (tty output)"},
|
||||||
27: "profiling timer expired",
|
{23, "SIGURG", "urgent I/O condition"},
|
||||||
28: "window changed",
|
{24, "SIGXCPU", "CPU time limit exceeded"},
|
||||||
29: "I/O possible",
|
{25, "SIGXFSZ", "file size limit exceeded"},
|
||||||
30: "power failure",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "bad system call",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
|
{28, "SIGWINCH", "window changed"},
|
||||||
|
{29, "SIGIO", "I/O possible"},
|
||||||
|
{30, "SIGPWR", "power failure"},
|
||||||
|
{31, "SIGSYS", "bad system call"},
|
||||||
}
|
}
|
||||||
+138
-130
@@ -1584,137 +1584,145 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large or too small",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large or too small"},
|
||||||
39: "destination address required",
|
{35, "EAGAIN", "resource temporarily unavailable"},
|
||||||
40: "message too long",
|
{36, "EINPROGRESS", "operation now in progress"},
|
||||||
41: "protocol wrong type for socket",
|
{37, "EALREADY", "operation already in progress"},
|
||||||
42: "protocol option 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 option not available"},
|
||||||
47: "address family not supported by protocol family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't assign requested address",
|
{45, "EOPNOTSUPP", "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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "connection timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "identifier removed",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "no message of desired type",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "illegal byte sequence",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "not supported",
|
{82, "EIDRM", "identifier removed"},
|
||||||
87: "operation Canceled",
|
{83, "ENOMSG", "no message of desired type"},
|
||||||
88: "bad or Corrupt message",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "no message available",
|
{85, "EILSEQ", "illegal byte sequence"},
|
||||||
90: "no STREAM resources",
|
{86, "ENOTSUP", "not supported"},
|
||||||
91: "not a STREAM",
|
{87, "ECANCELED", "operation Canceled"},
|
||||||
92: "STREAM ioctl timeout",
|
{88, "EBADMSG", "bad or Corrupt message"},
|
||||||
93: "attribute not found",
|
{89, "ENODATA", "no message available"},
|
||||||
94: "multihop attempted",
|
{90, "ENOSR", "no STREAM resources"},
|
||||||
95: "link has been severed",
|
{91, "ENOSTR", "not a STREAM"},
|
||||||
96: "protocol error",
|
{92, "ETIME", "STREAM ioctl timeout"},
|
||||||
|
{93, "ENOATTR", "attribute not found"},
|
||||||
|
{94, "EMULTIHOP", "multihop attempted"},
|
||||||
|
{95, "ENOLINK", "link has been severed"},
|
||||||
|
{96, "ELAST", "protocol 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGIOT", "abort trap"},
|
||||||
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: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
32: "power fail/restart",
|
{28, "SIGWINCH", "window size changes"},
|
||||||
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
|
{32, "SIGPWR", "power fail/restart"},
|
||||||
}
|
}
|
||||||
+138
-130
@@ -1574,137 +1574,145 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large or too small",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large or too small"},
|
||||||
39: "destination address required",
|
{35, "EAGAIN", "resource temporarily unavailable"},
|
||||||
40: "message too long",
|
{36, "EINPROGRESS", "operation now in progress"},
|
||||||
41: "protocol wrong type for socket",
|
{37, "EALREADY", "operation already in progress"},
|
||||||
42: "protocol option 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 option not available"},
|
||||||
47: "address family not supported by protocol family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't assign requested address",
|
{45, "EOPNOTSUPP", "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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "connection timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "identifier removed",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "no message of desired type",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "illegal byte sequence",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "not supported",
|
{82, "EIDRM", "identifier removed"},
|
||||||
87: "operation Canceled",
|
{83, "ENOMSG", "no message of desired type"},
|
||||||
88: "bad or Corrupt message",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "no message available",
|
{85, "EILSEQ", "illegal byte sequence"},
|
||||||
90: "no STREAM resources",
|
{86, "ENOTSUP", "not supported"},
|
||||||
91: "not a STREAM",
|
{87, "ECANCELED", "operation Canceled"},
|
||||||
92: "STREAM ioctl timeout",
|
{88, "EBADMSG", "bad or Corrupt message"},
|
||||||
93: "attribute not found",
|
{89, "ENODATA", "no message available"},
|
||||||
94: "multihop attempted",
|
{90, "ENOSR", "no STREAM resources"},
|
||||||
95: "link has been severed",
|
{91, "ENOSTR", "not a STREAM"},
|
||||||
96: "protocol error",
|
{92, "ETIME", "STREAM ioctl timeout"},
|
||||||
|
{93, "ENOATTR", "attribute not found"},
|
||||||
|
{94, "EMULTIHOP", "multihop attempted"},
|
||||||
|
{95, "ENOLINK", "link has been severed"},
|
||||||
|
{96, "ELAST", "protocol 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGIOT", "abort trap"},
|
||||||
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: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
32: "power fail/restart",
|
{28, "SIGWINCH", "window size changes"},
|
||||||
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
|
{32, "SIGPWR", "power fail/restart"},
|
||||||
}
|
}
|
||||||
+138
-130
@@ -1563,137 +1563,145 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large or too small",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large or too small"},
|
||||||
39: "destination address required",
|
{35, "EAGAIN", "resource temporarily unavailable"},
|
||||||
40: "message too long",
|
{36, "EINPROGRESS", "operation now in progress"},
|
||||||
41: "protocol wrong type for socket",
|
{37, "EALREADY", "operation already in progress"},
|
||||||
42: "protocol option 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 option not available"},
|
||||||
47: "address family not supported by protocol family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't assign requested address",
|
{45, "EOPNOTSUPP", "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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "connection timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disc quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "identifier removed",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "no message of desired type",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "value too large to be stored in data type",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "illegal byte sequence",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "not supported",
|
{82, "EIDRM", "identifier removed"},
|
||||||
87: "operation Canceled",
|
{83, "ENOMSG", "no message of desired type"},
|
||||||
88: "bad or Corrupt message",
|
{84, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
89: "no message available",
|
{85, "EILSEQ", "illegal byte sequence"},
|
||||||
90: "no STREAM resources",
|
{86, "ENOTSUP", "not supported"},
|
||||||
91: "not a STREAM",
|
{87, "ECANCELED", "operation Canceled"},
|
||||||
92: "STREAM ioctl timeout",
|
{88, "EBADMSG", "bad or Corrupt message"},
|
||||||
93: "attribute not found",
|
{89, "ENODATA", "no message available"},
|
||||||
94: "multihop attempted",
|
{90, "ENOSR", "no STREAM resources"},
|
||||||
95: "link has been severed",
|
{91, "ENOSTR", "not a STREAM"},
|
||||||
96: "protocol error",
|
{92, "ETIME", "STREAM ioctl timeout"},
|
||||||
|
{93, "ENOATTR", "attribute not found"},
|
||||||
|
{94, "EMULTIHOP", "multihop attempted"},
|
||||||
|
{95, "ENOLINK", "link has been severed"},
|
||||||
|
{96, "ELAST", "protocol 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGIOT", "abort trap"},
|
||||||
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: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
32: "power fail/restart",
|
{28, "SIGWINCH", "window size changes"},
|
||||||
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
|
{32, "SIGPWR", "power fail/restart"},
|
||||||
}
|
}
|
||||||
+133
-125
@@ -1461,132 +1461,140 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't assign requested address",
|
{45, "EOPNOTSUPP", "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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "connection timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disk quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC program not available"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "IPsec processing failure",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "attribute not found",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "illegal byte sequence",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "no medium found",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "wrong medium type",
|
{82, "EIPSEC", "IPsec processing failure"},
|
||||||
87: "value too large to be stored in data type",
|
{83, "ENOATTR", "attribute not found"},
|
||||||
88: "operation canceled",
|
{84, "EILSEQ", "illegal byte sequence"},
|
||||||
89: "identifier removed",
|
{85, "ENOMEDIUM", "no medium found"},
|
||||||
90: "no message of desired type",
|
{86, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
91: "not supported",
|
{87, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
|
{88, "ECANCELED", "operation canceled"},
|
||||||
|
{89, "EIDRM", "identifier removed"},
|
||||||
|
{90, "ENOMSG", "no message of desired type"},
|
||||||
|
{91, "ELAST", "not supported"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGABRT", "abort trap"},
|
||||||
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", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
32: "thread AST",
|
{28, "SIGWINCH", "window size changes"},
|
||||||
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
|
{32, "SIGTHR", "thread AST"},
|
||||||
}
|
}
|
||||||
+133
-125
@@ -1460,132 +1460,140 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't assign requested address",
|
{45, "EOPNOTSUPP", "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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "connection timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disk quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC program not available"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "IPsec processing failure",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "attribute not found",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "illegal byte sequence",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "no medium found",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "wrong medium type",
|
{82, "EIPSEC", "IPsec processing failure"},
|
||||||
87: "value too large to be stored in data type",
|
{83, "ENOATTR", "attribute not found"},
|
||||||
88: "operation canceled",
|
{84, "EILSEQ", "illegal byte sequence"},
|
||||||
89: "identifier removed",
|
{85, "ENOMEDIUM", "no medium found"},
|
||||||
90: "no message of desired type",
|
{86, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
91: "not supported",
|
{87, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
|
{88, "ECANCELED", "operation canceled"},
|
||||||
|
{89, "EIDRM", "identifier removed"},
|
||||||
|
{90, "ENOMSG", "no message of desired type"},
|
||||||
|
{91, "ELAST", "not supported"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGABRT", "abort trap"},
|
||||||
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", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
32: "thread AST",
|
{28, "SIGWINCH", "window size changes"},
|
||||||
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
|
{32, "SIGTHR", "thread AST"},
|
||||||
}
|
}
|
||||||
+133
-125
@@ -1463,132 +1463,140 @@ 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: "device not configured",
|
{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", "device not configured"},
|
||||||
11: "resource deadlock avoided",
|
{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, "EDEADLK", "resource deadlock avoided"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "cannot allocate memory"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "operation not supported by device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "too many open files in system",
|
{19, "ENODEV", "operation not supported by 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: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "resource temporarily unavailable",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "operation now in progress",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "operation already in progress",
|
{33, "EDOM", "numerical argument out of domain"},
|
||||||
38: "socket operation on non-socket",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "destination address required",
|
{35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
||||||
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 family",
|
{43, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
48: "address already in use",
|
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
49: "can't assign requested address",
|
{45, "EOPNOTSUPP", "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 family"},
|
||||||
52: "network dropped connection on reset",
|
{48, "EADDRINUSE", "address already in use"},
|
||||||
53: "software caused connection abort",
|
{49, "EADDRNOTAVAIL", "can't assign requested address"},
|
||||||
54: "connection reset by peer",
|
{50, "ENETDOWN", "network is down"},
|
||||||
55: "no buffer space available",
|
{51, "ENETUNREACH", "network is unreachable"},
|
||||||
56: "socket is already connected",
|
{52, "ENETRESET", "network dropped connection on reset"},
|
||||||
57: "socket is not connected",
|
{53, "ECONNABORTED", "software caused connection abort"},
|
||||||
58: "can't send after socket shutdown",
|
{54, "ECONNRESET", "connection reset by peer"},
|
||||||
59: "too many references: can't splice",
|
{55, "ENOBUFS", "no buffer space available"},
|
||||||
60: "connection timed out",
|
{56, "EISCONN", "socket is already connected"},
|
||||||
61: "connection refused",
|
{57, "ENOTCONN", "socket is not connected"},
|
||||||
62: "too many levels of symbolic links",
|
{58, "ESHUTDOWN", "can't send after socket shutdown"},
|
||||||
63: "file name too long",
|
{59, "ETOOMANYREFS", "too many references: can't splice"},
|
||||||
64: "host is down",
|
{60, "ETIMEDOUT", "operation 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: "disc quota exceeded",
|
{65, "EHOSTUNREACH", "no route to host"},
|
||||||
70: "stale NFS file handle",
|
{66, "ENOTEMPTY", "directory not empty"},
|
||||||
71: "too many levels of remote in path",
|
{67, "EPROCLIM", "too many processes"},
|
||||||
72: "RPC struct is bad",
|
{68, "EUSERS", "too many users"},
|
||||||
73: "RPC version wrong",
|
{69, "EDQUOT", "disk quota exceeded"},
|
||||||
74: "RPC prog. not avail",
|
{70, "ESTALE", "stale NFS file handle"},
|
||||||
75: "program version wrong",
|
{71, "EREMOTE", "too many levels of remote in path"},
|
||||||
76: "bad procedure for program",
|
{72, "EBADRPC", "RPC struct is bad"},
|
||||||
77: "no locks available",
|
{73, "ERPCMISMATCH", "RPC version wrong"},
|
||||||
78: "function not implemented",
|
{74, "EPROGUNAVAIL", "RPC program not available"},
|
||||||
79: "inappropriate file type or format",
|
{75, "EPROGMISMATCH", "program version wrong"},
|
||||||
80: "authentication error",
|
{76, "EPROCUNAVAIL", "bad procedure for program"},
|
||||||
81: "need authenticator",
|
{77, "ENOLCK", "no locks available"},
|
||||||
82: "IPsec processing failure",
|
{78, "ENOSYS", "function not implemented"},
|
||||||
83: "attribute not found",
|
{79, "EFTYPE", "inappropriate file type or format"},
|
||||||
84: "illegal byte sequence",
|
{80, "EAUTH", "authentication error"},
|
||||||
85: "no medium found",
|
{81, "ENEEDAUTH", "need authenticator"},
|
||||||
86: "wrong medium type",
|
{82, "EIPSEC", "IPsec processing failure"},
|
||||||
87: "value too large to be stored in data type",
|
{83, "ENOATTR", "attribute not found"},
|
||||||
88: "operation canceled",
|
{84, "EILSEQ", "illegal byte sequence"},
|
||||||
89: "identifier removed",
|
{85, "ENOMEDIUM", "no medium found"},
|
||||||
90: "no message of desired type",
|
{86, "EMEDIUMTYPE", "wrong medium type"},
|
||||||
91: "not supported",
|
{87, "EOVERFLOW", "value too large to be stored in data type"},
|
||||||
|
{88, "ECANCELED", "operation canceled"},
|
||||||
|
{89, "EIDRM", "identifier removed"},
|
||||||
|
{90, "ENOMSG", "no message of desired type"},
|
||||||
|
{91, "ELAST", "not supported"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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/BPT trap",
|
{1, "SIGHUP", "hangup"},
|
||||||
6: "abort trap",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "EMT trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "floating point exception",
|
{4, "SIGILL", "illegal instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/BPT trap"},
|
||||||
10: "bus error",
|
{6, "SIGABRT", "abort trap"},
|
||||||
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", "suspended (signal)"},
|
||||||
22: "stopped (tty output)",
|
{18, "SIGTSTP", "suspended"},
|
||||||
23: "I/O possible",
|
{19, "SIGCONT", "continued"},
|
||||||
24: "cputime limit exceeded",
|
{20, "SIGCHLD", "child exited"},
|
||||||
25: "filesize 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 size changes",
|
{24, "SIGXCPU", "cputime limit exceeded"},
|
||||||
29: "information request",
|
{25, "SIGXFSZ", "filesize limit exceeded"},
|
||||||
30: "user defined signal 1",
|
{26, "SIGVTALRM", "virtual timer expired"},
|
||||||
31: "user defined signal 2",
|
{27, "SIGPROF", "profiling timer expired"},
|
||||||
32: "thread AST",
|
{28, "SIGWINCH", "window size changes"},
|
||||||
|
{29, "SIGINFO", "information request"},
|
||||||
|
{30, "SIGUSR1", "user defined signal 1"},
|
||||||
|
{31, "SIGUSR2", "user defined signal 2"},
|
||||||
|
{32, "SIGTHR", "thread AST"},
|
||||||
}
|
}
|
||||||
+172
-164
@@ -1319,171 +1319,179 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Error table
|
// Error table
|
||||||
var errors = [...]string{
|
var errorList = [...]struct {
|
||||||
1: "not owner",
|
num syscall.Errno
|
||||||
2: "no such file or directory",
|
name string
|
||||||
3: "no such process",
|
desc string
|
||||||
4: "interrupted system call",
|
}{
|
||||||
5: "I/O error",
|
{1, "EPERM", "not owner"},
|
||||||
6: "no such device or address",
|
{2, "ENOENT", "no such file or directory"},
|
||||||
7: "arg list too long",
|
{3, "ESRCH", "no such process"},
|
||||||
8: "exec format error",
|
{4, "EINTR", "interrupted system call"},
|
||||||
9: "bad file number",
|
{5, "EIO", "I/O error"},
|
||||||
10: "no child processes",
|
{6, "ENXIO", "no such device or address"},
|
||||||
11: "resource temporarily unavailable",
|
{7, "E2BIG", "arg list too long"},
|
||||||
12: "not enough space",
|
{8, "ENOEXEC", "exec format error"},
|
||||||
13: "permission denied",
|
{9, "EBADF", "bad file number"},
|
||||||
14: "bad address",
|
{10, "ECHILD", "no child processes"},
|
||||||
15: "block device required",
|
{11, "EAGAIN", "resource temporarily unavailable"},
|
||||||
16: "device busy",
|
{12, "ENOMEM", "not enough space"},
|
||||||
17: "file exists",
|
{13, "EACCES", "permission denied"},
|
||||||
18: "cross-device link",
|
{14, "EFAULT", "bad address"},
|
||||||
19: "no such device",
|
{15, "ENOTBLK", "block device required"},
|
||||||
20: "not a directory",
|
{16, "EBUSY", "device busy"},
|
||||||
21: "is a directory",
|
{17, "EEXIST", "file exists"},
|
||||||
22: "invalid argument",
|
{18, "EXDEV", "cross-device link"},
|
||||||
23: "file table overflow",
|
{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", "file table overflow"},
|
||||||
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: "argument out of domain",
|
{29, "ESPIPE", "illegal seek"},
|
||||||
34: "result too large",
|
{30, "EROFS", "read-only file system"},
|
||||||
35: "no message of desired type",
|
{31, "EMLINK", "too many links"},
|
||||||
36: "identifier removed",
|
{32, "EPIPE", "broken pipe"},
|
||||||
37: "channel number out of range",
|
{33, "EDOM", "argument out of domain"},
|
||||||
38: "level 2 not synchronized",
|
{34, "ERANGE", "result too large"},
|
||||||
39: "level 3 halted",
|
{35, "ENOMSG", "no message of desired type"},
|
||||||
40: "level 3 reset",
|
{36, "EIDRM", "identifier removed"},
|
||||||
41: "link number out of range",
|
{37, "ECHRNG", "channel number out of range"},
|
||||||
42: "protocol driver not attached",
|
{38, "EL2NSYNC", "level 2 not synchronized"},
|
||||||
43: "no CSI structure available",
|
{39, "EL3HLT", "level 3 halted"},
|
||||||
44: "level 2 halted",
|
{40, "EL3RST", "level 3 reset"},
|
||||||
45: "deadlock situation detected/avoided",
|
{41, "ELNRNG", "link number out of range"},
|
||||||
46: "no record locks available",
|
{42, "EUNATCH", "protocol driver not attached"},
|
||||||
47: "operation canceled",
|
{43, "ENOCSI", "no CSI structure available"},
|
||||||
48: "operation not supported",
|
{44, "EL2HLT", "level 2 halted"},
|
||||||
49: "disc quota exceeded",
|
{45, "EDEADLK", "deadlock situation detected/avoided"},
|
||||||
50: "bad exchange descriptor",
|
{46, "ENOLCK", "no record locks available"},
|
||||||
51: "bad request descriptor",
|
{47, "ECANCELED", "operation canceled"},
|
||||||
52: "message tables full",
|
{48, "ENOTSUP", "operation not supported"},
|
||||||
53: "anode table overflow",
|
{49, "EDQUOT", "disc quota exceeded"},
|
||||||
54: "bad request code",
|
{50, "EBADE", "bad exchange descriptor"},
|
||||||
55: "invalid slot",
|
{51, "EBADR", "bad request descriptor"},
|
||||||
56: "file locking deadlock",
|
{52, "EXFULL", "message tables full"},
|
||||||
57: "bad font file format",
|
{53, "ENOANO", "anode table overflow"},
|
||||||
58: "owner of the lock died",
|
{54, "EBADRQC", "bad request code"},
|
||||||
59: "lock is not recoverable",
|
{55, "EBADSLT", "invalid slot"},
|
||||||
60: "not a stream device",
|
{56, "EDEADLOCK", "file locking deadlock"},
|
||||||
61: "no data available",
|
{57, "EBFONT", "bad font file format"},
|
||||||
62: "timer expired",
|
{58, "EOWNERDEAD", "owner of the lock died"},
|
||||||
63: "out of stream resources",
|
{59, "ENOTRECOVERABLE", "lock is not recoverable"},
|
||||||
64: "machine is not on the network",
|
{60, "ENOSTR", "not a stream device"},
|
||||||
65: "package not installed",
|
{61, "ENODATA", "no data available"},
|
||||||
66: "object is remote",
|
{62, "ETIME", "timer expired"},
|
||||||
67: "link has been severed",
|
{63, "ENOSR", "out of stream resources"},
|
||||||
68: "advertise error",
|
{64, "ENONET", "machine is not on the network"},
|
||||||
69: "srmount error",
|
{65, "ENOPKG", "package not installed"},
|
||||||
70: "communication error on send",
|
{66, "EREMOTE", "object is remote"},
|
||||||
71: "protocol error",
|
{67, "ENOLINK", "link has been severed"},
|
||||||
72: "locked lock was unmapped ",
|
{68, "EADV", "advertise error"},
|
||||||
73: "facility is not active",
|
{69, "ESRMNT", "srmount error"},
|
||||||
74: "multihop attempted",
|
{70, "ECOMM", "communication error on send"},
|
||||||
77: "not a data message",
|
{71, "EPROTO", "protocol error"},
|
||||||
78: "file name too long",
|
{72, "ELOCKUNMAPPED", "locked lock was unmapped "},
|
||||||
79: "value too large for defined data type",
|
{73, "ENOTACTIVE", "facility is not active"},
|
||||||
80: "name not unique on network",
|
{74, "EMULTIHOP", "multihop attempted"},
|
||||||
81: "file descriptor in bad state",
|
{77, "EBADMSG", "not a data message"},
|
||||||
82: "remote address changed",
|
{78, "ENAMETOOLONG", "file name too long"},
|
||||||
83: "can not access a needed shared library",
|
{79, "EOVERFLOW", "value too large for defined data type"},
|
||||||
84: "accessing a corrupted shared library",
|
{80, "ENOTUNIQ", "name not unique on network"},
|
||||||
85: ".lib section in a.out corrupted",
|
{81, "EBADFD", "file descriptor in bad state"},
|
||||||
86: "attempting to link in more shared libraries than system limit",
|
{82, "EREMCHG", "remote address changed"},
|
||||||
87: "can not exec a shared library directly",
|
{83, "ELIBACC", "can not access a needed shared library"},
|
||||||
88: "illegal byte sequence",
|
{84, "ELIBBAD", "accessing a corrupted shared library"},
|
||||||
89: "operation not applicable",
|
{85, "ELIBSCN", ".lib section in a.out corrupted"},
|
||||||
90: "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS",
|
{86, "ELIBMAX", "attempting to link in more shared libraries than system limit"},
|
||||||
91: "error 91",
|
{87, "ELIBEXEC", "can not exec a shared library directly"},
|
||||||
92: "error 92",
|
{88, "EILSEQ", "illegal byte sequence"},
|
||||||
93: "directory not empty",
|
{89, "ENOSYS", "operation not applicable"},
|
||||||
94: "too many users",
|
{90, "ELOOP", "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS"},
|
||||||
95: "socket operation on non-socket",
|
{91, "ERESTART", "error 91"},
|
||||||
96: "destination address required",
|
{92, "ESTRPIPE", "error 92"},
|
||||||
97: "message too long",
|
{93, "ENOTEMPTY", "directory not empty"},
|
||||||
98: "protocol wrong type for socket",
|
{94, "EUSERS", "too many users"},
|
||||||
99: "option not supported by protocol",
|
{95, "ENOTSOCK", "socket operation on non-socket"},
|
||||||
120: "protocol not supported",
|
{96, "EDESTADDRREQ", "destination address required"},
|
||||||
121: "socket type not supported",
|
{97, "EMSGSIZE", "message too long"},
|
||||||
122: "operation not supported on transport endpoint",
|
{98, "EPROTOTYPE", "protocol wrong type for socket"},
|
||||||
123: "protocol family not supported",
|
{99, "ENOPROTOOPT", "option not supported by protocol"},
|
||||||
124: "address family not supported by protocol family",
|
{120, "EPROTONOSUPPORT", "protocol not supported"},
|
||||||
125: "address already in use",
|
{121, "ESOCKTNOSUPPORT", "socket type not supported"},
|
||||||
126: "cannot assign requested address",
|
{122, "EOPNOTSUPP", "operation not supported on transport endpoint"},
|
||||||
127: "network is down",
|
{123, "EPFNOSUPPORT", "protocol family not supported"},
|
||||||
128: "network is unreachable",
|
{124, "EAFNOSUPPORT", "address family not supported by protocol family"},
|
||||||
129: "network dropped connection because of reset",
|
{125, "EADDRINUSE", "address already in use"},
|
||||||
130: "software caused connection abort",
|
{126, "EADDRNOTAVAIL", "cannot assign requested address"},
|
||||||
131: "connection reset by peer",
|
{127, "ENETDOWN", "network is down"},
|
||||||
132: "no buffer space available",
|
{128, "ENETUNREACH", "network is unreachable"},
|
||||||
133: "transport endpoint is already connected",
|
{129, "ENETRESET", "network dropped connection because of reset"},
|
||||||
134: "transport endpoint is not connected",
|
{130, "ECONNABORTED", "software caused connection abort"},
|
||||||
143: "cannot send after socket shutdown",
|
{131, "ECONNRESET", "connection reset by peer"},
|
||||||
144: "too many references: cannot splice",
|
{132, "ENOBUFS", "no buffer space available"},
|
||||||
145: "connection timed out",
|
{133, "EISCONN", "transport endpoint is already connected"},
|
||||||
146: "connection refused",
|
{134, "ENOTCONN", "transport endpoint is not connected"},
|
||||||
147: "host is down",
|
{143, "ESHUTDOWN", "cannot send after socket shutdown"},
|
||||||
148: "no route to host",
|
{144, "ETOOMANYREFS", "too many references: cannot splice"},
|
||||||
149: "operation already in progress",
|
{145, "ETIMEDOUT", "connection timed out"},
|
||||||
150: "operation now in progress",
|
{146, "ECONNREFUSED", "connection refused"},
|
||||||
151: "stale NFS file handle",
|
{147, "EHOSTDOWN", "host is down"},
|
||||||
|
{148, "EHOSTUNREACH", "no route to host"},
|
||||||
|
{149, "EALREADY", "operation already in progress"},
|
||||||
|
{150, "EINPROGRESS", "operation now in progress"},
|
||||||
|
{151, "ESTALE", "stale NFS file handle"},
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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: "abort",
|
{2, "SIGINT", "interrupt"},
|
||||||
7: "emulation Trap",
|
{3, "SIGQUIT", "quit"},
|
||||||
8: "arithmetic Exception",
|
{4, "SIGILL", "illegal Instruction"},
|
||||||
9: "killed",
|
{5, "SIGTRAP", "trace/Breakpoint Trap"},
|
||||||
10: "bus Error",
|
{6, "SIGABRT", "abort"},
|
||||||
11: "segmentation Fault",
|
{7, "SIGEMT", "emulation Trap"},
|
||||||
12: "bad System Call",
|
{8, "SIGFPE", "arithmetic Exception"},
|
||||||
13: "broken Pipe",
|
{9, "SIGKILL", "killed"},
|
||||||
14: "alarm Clock",
|
{10, "SIGBUS", "bus Error"},
|
||||||
15: "terminated",
|
{11, "SIGSEGV", "segmentation Fault"},
|
||||||
16: "user Signal 1",
|
{12, "SIGSYS", "bad System Call"},
|
||||||
17: "user Signal 2",
|
{13, "SIGPIPE", "broken Pipe"},
|
||||||
18: "child Status Changed",
|
{14, "SIGALRM", "alarm Clock"},
|
||||||
19: "power-Fail/Restart",
|
{15, "SIGTERM", "terminated"},
|
||||||
20: "window Size Change",
|
{16, "SIGUSR1", "user Signal 1"},
|
||||||
21: "urgent Socket Condition",
|
{17, "SIGUSR2", "user Signal 2"},
|
||||||
22: "pollable Event",
|
{18, "SIGCHLD", "child Status Changed"},
|
||||||
23: "stopped (signal)",
|
{19, "SIGPWR", "power-Fail/Restart"},
|
||||||
24: "stopped (user)",
|
{20, "SIGWINCH", "window Size Change"},
|
||||||
25: "continued",
|
{21, "SIGURG", "urgent Socket Condition"},
|
||||||
26: "stopped (tty input)",
|
{22, "SIGIO", "pollable Event"},
|
||||||
27: "stopped (tty output)",
|
{23, "SIGSTOP", "stopped (signal)"},
|
||||||
28: "virtual Timer Expired",
|
{24, "SIGTSTP", "stopped (user)"},
|
||||||
29: "profiling Timer Expired",
|
{25, "SIGCONT", "continued"},
|
||||||
30: "cpu Limit Exceeded",
|
{26, "SIGTTIN", "stopped (tty input)"},
|
||||||
31: "file Size Limit Exceeded",
|
{27, "SIGTTOU", "stopped (tty output)"},
|
||||||
32: "no runnable lwp",
|
{28, "SIGVTALRM", "virtual Timer Expired"},
|
||||||
33: "inter-lwp signal",
|
{29, "SIGPROF", "profiling Timer Expired"},
|
||||||
34: "checkpoint Freeze",
|
{30, "SIGXCPU", "cpu Limit Exceeded"},
|
||||||
35: "checkpoint Thaw",
|
{31, "SIGXFSZ", "file Size Limit Exceeded"},
|
||||||
36: "thread Cancellation",
|
{32, "SIGWAITING", "no runnable lwp"},
|
||||||
37: "resource Lost",
|
{33, "SIGLWP", "inter-lwp signal"},
|
||||||
38: "resource Control Exceeded",
|
{34, "SIGFREEZE", "checkpoint Freeze"},
|
||||||
39: "reserved for JVM 1",
|
{35, "SIGTHAW", "checkpoint Thaw"},
|
||||||
40: "reserved for JVM 2",
|
{36, "SIGCANCEL", "thread Cancellation"},
|
||||||
41: "information Request",
|
{37, "SIGLOST", "resource Lost"},
|
||||||
|
{38, "SIGXRES", "resource Control Exceeded"},
|
||||||
|
{39, "SIGJVM1", "reserved for JVM 1"},
|
||||||
|
{40, "SIGJVM2", "reserved for JVM 2"},
|
||||||
|
{41, "SIGINFO", "information Request"},
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user