]> Zhao Yanbai Git Server - minix.git/commitdiff
first commit of extra ptrace code for fault injection.
authorPhilip Homburg <philip@cs.vu.nl>
Mon, 28 Aug 2006 15:03:03 +0000 (15:03 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Mon, 28 Aug 2006 15:03:03 +0000 (15:03 +0000)
include/sys/ptrace.h

index 0b02a7270f067722e7e7c77b50cc1c01342c354e..ccb4503129792dcdc286a8aa078f7624928ea20a 100755 (executable)
 #define T_EXIT         8       /* exit */
 #define T_STEP         9       /* set trace bit */
 
+#define T_READB_INS    100     /* Read a byte from the text segment of an
+                                * untraced process (only for root)
+                                */
+#define T_WRITEB_INS   101     /* Write a byte in the text segment of an
+                                * untraced process (only for root)
+                                */
+
 /* Function Prototypes. */
 #ifndef _ANSI_H
 #include <ansi.h>