From f6c4002b35ba6eef3ca1c2fa4c449706049b331d Mon Sep 17 00:00:00 2001 From: Philip Homburg Date: Mon, 28 Aug 2006 15:03:03 +0000 Subject: [PATCH] first commit of extra ptrace code for fault injection. --- include/sys/ptrace.h | 7 +++++++ 1 file changed, 7 insertions(+) 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