]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - src/patches/iptables-1.4.6-errorno_includes.patch
pakfire: compression detection needs an extension.
[people/teissler/ipfire-2.x.git] / src / patches / iptables-1.4.6-errorno_includes.patch
CommitLineData
3dad5558
AF
1diff -Naur include.org/asm/errno.h include/asm/errno.h
2--- include.org/asm/errno.h 2010-02-12 18:21:40.000000000 +0100
3+++ include/asm/errno.h 2010-02-12 18:19:41.000000000 +0100
4@@ -5,4 +5,8 @@
5 #include <linux/errno.h>
6 #endif
7
8+#ifndef _ASM_GENERIC_ERRNO_H
9+ #include <asm-generic/errno.h>
10+#endif
11+
12 #endif
13diff -Naur include.org/asm-generic/errno-base.h include/asm-generic/errno-base.h
14--- include.org/asm-generic/errno-base.h 1970-01-01 01:00:00.000000000 +0100
15+++ include/asm-generic/errno-base.h 2010-02-09 13:57:19.000000000 +0100
16@@ -0,0 +1,39 @@
17+#ifndef _ASM_GENERIC_ERRNO_BASE_H
18+#define _ASM_GENERIC_ERRNO_BASE_H
19+
20+#define EPERM 1 /* Operation not permitted */
21+#define ENOENT 2 /* No such file or directory */
22+#define ESRCH 3 /* No such process */
23+#define EINTR 4 /* Interrupted system call */
24+#define EIO 5 /* I/O error */
25+#define ENXIO 6 /* No such device or address */
26+#define E2BIG 7 /* Argument list too long */
27+#define ENOEXEC 8 /* Exec format error */
28+#define EBADF 9 /* Bad file number */
29+#define ECHILD 10 /* No child processes */
30+#define EAGAIN 11 /* Try again */
31+#define ENOMEM 12 /* Out of memory */
32+#define EACCES 13 /* Permission denied */
33+#define EFAULT 14 /* Bad address */
34+#define ENOTBLK 15 /* Block device required */
35+#define EBUSY 16 /* Device or resource busy */
36+#define EEXIST 17 /* File exists */
37+#define EXDEV 18 /* Cross-device link */
38+#define ENODEV 19 /* No such device */
39+#define ENOTDIR 20 /* Not a directory */
40+#define EISDIR 21 /* Is a directory */
41+#define EINVAL 22 /* Invalid argument */
42+#define ENFILE 23 /* File table overflow */
43+#define EMFILE 24 /* Too many open files */
44+#define ENOTTY 25 /* Not a typewriter */
45+#define ETXTBSY 26 /* Text file busy */
46+#define EFBIG 27 /* File too large */
47+#define ENOSPC 28 /* No space left on device */
48+#define ESPIPE 29 /* Illegal seek */
49+#define EROFS 30 /* Read-only file system */
50+#define EMLINK 31 /* Too many links */
51+#define EPIPE 32 /* Broken pipe */
52+#define EDOM 33 /* Math argument out of domain of func */
53+#define ERANGE 34 /* Math result not representable */
54+
55+#endif
56diff -Naur include.org/asm-generic/errno.h include/asm-generic/errno.h
57--- include.org/asm-generic/errno.h 1970-01-01 01:00:00.000000000 +0100
58+++ include/asm-generic/errno.h 2010-02-09 13:57:19.000000000 +0100
59@@ -0,0 +1,111 @@
60+#ifndef _ASM_GENERIC_ERRNO_H
61+#define _ASM_GENERIC_ERRNO_H
62+
63+#include <asm-generic/errno-base.h>
64+
65+#define EDEADLK 35 /* Resource deadlock would occur */
66+#define ENAMETOOLONG 36 /* File name too long */
67+#define ENOLCK 37 /* No record locks available */
68+#define ENOSYS 38 /* Function not implemented */
69+#define ENOTEMPTY 39 /* Directory not empty */
70+#define ELOOP 40 /* Too many symbolic links encountered */
71+#define EWOULDBLOCK EAGAIN /* Operation would block */
72+#define ENOMSG 42 /* No message of desired type */
73+#define EIDRM 43 /* Identifier removed */
74+#define ECHRNG 44 /* Channel number out of range */
75+#define EL2NSYNC 45 /* Level 2 not synchronized */
76+#define EL3HLT 46 /* Level 3 halted */
77+#define EL3RST 47 /* Level 3 reset */
78+#define ELNRNG 48 /* Link number out of range */
79+#define EUNATCH 49 /* Protocol driver not attached */
80+#define ENOCSI 50 /* No CSI structure available */
81+#define EL2HLT 51 /* Level 2 halted */
82+#define EBADE 52 /* Invalid exchange */
83+#define EBADR 53 /* Invalid request descriptor */
84+#define EXFULL 54 /* Exchange full */
85+#define ENOANO 55 /* No anode */
86+#define EBADRQC 56 /* Invalid request code */
87+#define EBADSLT 57 /* Invalid slot */
88+
89+#define EDEADLOCK EDEADLK
90+
91+#define EBFONT 59 /* Bad font file format */
92+#define ENOSTR 60 /* Device not a stream */
93+#define ENODATA 61 /* No data available */
94+#define ETIME 62 /* Timer expired */
95+#define ENOSR 63 /* Out of streams resources */
96+#define ENONET 64 /* Machine is not on the network */
97+#define ENOPKG 65 /* Package not installed */
98+#define EREMOTE 66 /* Object is remote */
99+#define ENOLINK 67 /* Link has been severed */
100+#define EADV 68 /* Advertise error */
101+#define ESRMNT 69 /* Srmount error */
102+#define ECOMM 70 /* Communication error on send */
103+#define EPROTO 71 /* Protocol error */
104+#define EMULTIHOP 72 /* Multihop attempted */
105+#define EDOTDOT 73 /* RFS specific error */
106+#define EBADMSG 74 /* Not a data message */
107+#define EOVERFLOW 75 /* Value too large for defined data type */
108+#define ENOTUNIQ 76 /* Name not unique on network */
109+#define EBADFD 77 /* File descriptor in bad state */
110+#define EREMCHG 78 /* Remote address changed */
111+#define ELIBACC 79 /* Can not access a needed shared library */
112+#define ELIBBAD 80 /* Accessing a corrupted shared library */
113+#define ELIBSCN 81 /* .lib section in a.out corrupted */
114+#define ELIBMAX 82 /* Attempting to link in too many shared libraries */
115+#define ELIBEXEC 83 /* Cannot exec a shared library directly */
116+#define EILSEQ 84 /* Illegal byte sequence */
117+#define ERESTART 85 /* Interrupted system call should be restarted */
118+#define ESTRPIPE 86 /* Streams pipe error */
119+#define EUSERS 87 /* Too many users */
120+#define ENOTSOCK 88 /* Socket operation on non-socket */
121+#define EDESTADDRREQ 89 /* Destination address required */
122+#define EMSGSIZE 90 /* Message too long */
123+#define EPROTOTYPE 91 /* Protocol wrong type for socket */
124+#define ENOPROTOOPT 92 /* Protocol not available */
125+#define EPROTONOSUPPORT 93 /* Protocol not supported */
126+#define ESOCKTNOSUPPORT 94 /* Socket type not supported */
127+#define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */
128+#define EPFNOSUPPORT 96 /* Protocol family not supported */
129+#define EAFNOSUPPORT 97 /* Address family not supported by protocol */
130+#define EADDRINUSE 98 /* Address already in use */
131+#define EADDRNOTAVAIL 99 /* Cannot assign requested address */
132+#define ENETDOWN 100 /* Network is down */
133+#define ENETUNREACH 101 /* Network is unreachable */
134+#define ENETRESET 102 /* Network dropped connection because of reset */
135+#define ECONNABORTED 103 /* Software caused connection abort */
136+#define ECONNRESET 104 /* Connection reset by peer */
137+#define ENOBUFS 105 /* No buffer space available */
138+#define EISCONN 106 /* Transport endpoint is already connected */
139+#define ENOTCONN 107 /* Transport endpoint is not connected */
140+#define ESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */
141+#define ETOOMANYREFS 109 /* Too many references: cannot splice */
142+#define ETIMEDOUT 110 /* Connection timed out */
143+#define ECONNREFUSED 111 /* Connection refused */
144+#define EHOSTDOWN 112 /* Host is down */
145+#define EHOSTUNREACH 113 /* No route to host */
146+#define EALREADY 114 /* Operation already in progress */
147+#define EINPROGRESS 115 /* Operation now in progress */
148+#define ESTALE 116 /* Stale NFS file handle */
149+#define EUCLEAN 117 /* Structure needs cleaning */
150+#define ENOTNAM 118 /* Not a XENIX named type file */
151+#define ENAVAIL 119 /* No XENIX semaphores available */
152+#define EISNAM 120 /* Is a named type file */
153+#define EREMOTEIO 121 /* Remote I/O error */
154+#define EDQUOT 122 /* Quota exceeded */
155+
156+#define ENOMEDIUM 123 /* No medium found */
157+#define EMEDIUMTYPE 124 /* Wrong medium type */
158+#define ECANCELED 125 /* Operation Canceled */
159+#define ENOKEY 126 /* Required key not available */
160+#define EKEYEXPIRED 127 /* Key has expired */
161+#define EKEYREVOKED 128 /* Key has been revoked */
162+#define EKEYREJECTED 129 /* Key was rejected by service */
163+
164+/* for robust mutexes */
165+#define EOWNERDEAD 130 /* Owner died */
166+#define ENOTRECOVERABLE 131 /* State not recoverable */
167+
168+#define ERFKILL 132 /* Operation not possible due to RF-kill */
169+
170+#endif