]> granicus.if.org Git - strace/commitdiff
hppa: update error codes and signal numbers
authorHelge Deller <deller@gmx.de>
Sat, 8 Nov 2014 21:52:44 +0000 (22:52 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 11 Nov 2014 15:54:04 +0000 (15:54 +0000)
There are two important changes in here:

1. EWOULDBLOCK has been up to kernel 3.14 errorcode #246. Since hppa
folks had problems with EWOULDBLOCK != EAGAIN, this was changed in
kernel 3.14.

2. Starting with kernel 3.18, hppa folks changed some signal numbers in
such a way that we end up with SIGRTMIN == 32, which brings hppa in sync
with other linux ports.

Both were incompatible changes which basically broke hppa ABI, but since
they have been merged into the kernel, we have to follow.

linux/hppa/errnoent.h
linux/hppa/signalent.h

index 2c926333526debe8748b49786dc9217b66673ecc..d866f7e53e4d2b2e68c21d0eb17d7a1cab4b5457 100644 (file)
        "EREMOTEIO", /* 181 */
        "ENOMEDIUM", /* 182 */
        "EMEDIUMTYPE", /* 183 */
-       "ERRNO_184", /* 184 */
-       "ERRNO_185", /* 185 */
-       "ERRNO_186", /* 186 */
-       "ERRNO_187", /* 187 */
+       "ENOKEY", /* 184 */
+       "EKEYEXPIRED", /* 185 */
+       "EKEYREVOKED", /* 186 */
+       "EKEYREJECTED", /* 187 */
        "ERRNO_188", /* 188 */
        "ERRNO_189", /* 189 */
        "ERRNO_190", /* 190 */
        "ERRNO_243", /* 243 */
        "EALREADY", /* 244 */
        "EINPROGRESS", /* 245 */
-       "EWOULDBLOCK", /* 246 */
+       "EWOULDBLOCK_OLD", /* 246 */  /* was EWOULDBLOCK before kernel 3.14 */
        "ENOTEMPTY", /* 247 */
        "ENAMETOOLONG", /* 248 */
        "ELOOP", /* 249 */
        "ENOSYS", /* 251 */
        "ENOTSUP", /* 252 */
        "ECANCELLED", /* 253 */
+       "EOWNERDEAD", /* 254 */
+       "ENOTRECOVERABLE", /* 255 */
+       "ERFKILL", /* 256 */
+       "EHWPOISON", /* 257 */
index 92e5565e52a40116848061e855b5ff15d5853b02..9fbc212f662f1daed2f7dd3d4abc803cf34aa638 100644 (file)
@@ -5,12 +5,12 @@
        "SIGILL",       /* 4 */
        "SIGTRAP",      /* 5 */
        "SIGABRT",      /* 6 */
-       "SIGEMT",       /* 7 */
+       "SIGSTKFLT",    /* 7 */
        "SIGFPE",       /* 8 */
        "SIGKILL",      /* 9 */
        "SIGBUS",       /* 10 */
        "SIGSEGV",      /* 11 */
-       "SIGSYS",       /* 12 */
+       "SIGXCPU",      /* 12 */
        "SIGPIPE",      /* 13 */
        "SIGALRM",      /* 14 */
        "SIGTERM",      /* 15 */
        "SIGTTIN",      /* 27 */
        "SIGTTOU",      /* 28 */
        "SIGURG",       /* 29 */
-       "SIGLOST",      /* 30 */
+       "SIGXFSZ",      /* 30 */
        "SIGUNUSED",    /* 31 */
-       "SIG_32",       /* 32 */
-       "SIGXCPU",      /* 33 */
-       "SIGXFSZ",      /* 34 */
-       "SIG_35",       /* 35 */
-       "SIGSTKFLT",    /* 36 */
-       "SIGRTMIN",     /* 37 */
+       "SIGRTMIN",     /* 32 */