[PATCH] glibc-2.2.94 - HPPA needs to define ABORT_INSTRUCTION

Carlos O'Donell carlos@baldric.uwo.ca
Sun Sep 22 16:49:00 GMT 2002


libc-alpha,

This is the latest change in 2.2.94 which requires that HPPA define
ABORT_INSTRUCTION to terminate the userspace applicaiton.

Historically this has been "iitlbp" or "Insert Instruction TLB
protection" which faults the process if the processor is not in its
most privileged mode (!level0).

c.
---

	2002-09-21 Carlos O'Donell <carlos@baldric.uwo.ca>
	* sysdeps/hppa/abort-instr.h: New.
-------------- next part --------------
--- glibc-2.2.94/sysdeps/hppa/abort-instr.h	2002-09-21 02:34:32.000000000 -0400
+++ glibc-2.2.94/sysdeps/hppa/abort-instr.h	2002-09-21 02:11:06.000000000 -0400
@@ -0,0 +1,3 @@
+/* An instruction privileged instruction should crash a userspace program.
+ * We go with iitlbp because it has a history of being used to crash programs.  */
+#define ABORT_INSTRUCTION asm ("iitlbp	%r0,(%r0)")


More information about the Libc-alpha mailing list