Source: strace
Version: 4.9-2
Severity: important
Tags: patch

Dear debian strace maintainers,

can you please apply the attached patch for the hppa architecture?
It fixes (and adds) some error numbers and signal names and brings the defines 
and strings strace in sync with upstream Linux kernel.
I sent this patch upstream today as well to the strace devel mailing list...

Thanks,
Helge
diff -up ./linux/hppa/errnoent.h.org ./linux/hppa/errnoent.h
--- ./linux/hppa/errnoent.h.org	2014-11-08 22:13:40.493828740 +0100
+++ ./linux/hppa/errnoent.h	2014-11-08 22:36:02.269032977 +0100
@@ -182,10 +182,10 @@
 	"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 */
@@ -244,7 +244,7 @@
 	"ERRNO_243", /* 243 */
 	"EALREADY", /* 244 */
 	"EINPROGRESS", /* 245 */
-	"EWOULDBLOCK", /* 246 */
+	"EWOULDBLOCK_OLD", /* 246 */  /* was EWOULDBLOCK before kernel 3.14 */
 	"ENOTEMPTY", /* 247 */
 	"ENAMETOOLONG", /* 248 */
 	"ELOOP", /* 249 */
@@ -252,3 +252,7 @@
 	"ENOSYS", /* 251 */
 	"ENOTSUP", /* 252 */
 	"ECANCELLED", /* 253 */
+	"EOWNERDEAD", /* 254 */
+	"ENOTRECOVERABLE", /* 255 */
+	"ERFKILL", /* 256 */
+	"EHWPOISON", /* 257 */
diff -up ./linux/hppa/signalent.h.org ./linux/hppa/signalent.h
--- ./linux/hppa/signalent.h.org	2014-11-08 22:13:49.013848876 +0100
+++ ./linux/hppa/signalent.h	2014-11-08 22:17:27.854367048 +0100
@@ -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 */
@@ -28,11 +28,6 @@
 	"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 */

Reply via email to