From: Philip Homburg Date: Mon, 28 Aug 2006 15:03:03 +0000 (+0000) Subject: first commit of extra ptrace code for fault injection. X-Git-Tag: v3.1.3~188 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=f6c4002b35ba6eef3ca1c2fa4c449706049b331d;p=minix.git first commit of extra ptrace code for fault injection. --- diff --git a/include/sys/ptrace.h b/include/sys/ptrace.h index 0b02a7270..ccb450312 100755 --- a/include/sys/ptrace.h +++ b/include/sys/ptrace.h @@ -17,6 +17,13 @@ #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