|
@@ -89,7 +89,7 @@ unsigned long get_segment_eip(struct pt_regs *regs,
|
|
#ifdef CONFIG_X86_32
|
|
#ifdef CONFIG_X86_32
|
|
static
|
|
static
|
|
#endif
|
|
#endif
|
|
-unsigned long convert_rip_to_linear(struct task_struct *child, struct pt_regs *regs)
|
|
|
|
|
|
+unsigned long convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs)
|
|
{
|
|
{
|
|
unsigned long addr, seg;
|
|
unsigned long addr, seg;
|
|
|
|
|
|
@@ -136,7 +136,7 @@ static int is_setting_trap_flag(struct task_struct *child, struct pt_regs *regs)
|
|
{
|
|
{
|
|
int i, copied;
|
|
int i, copied;
|
|
unsigned char opcode[15];
|
|
unsigned char opcode[15];
|
|
- unsigned long addr = convert_rip_to_linear(child, regs);
|
|
|
|
|
|
+ unsigned long addr = convert_ip_to_linear(child, regs);
|
|
|
|
|
|
copied = access_process_vm(child, addr, opcode, sizeof(opcode), 0);
|
|
copied = access_process_vm(child, addr, opcode, sizeof(opcode), 0);
|
|
for (i = 0; i < copied; i++) {
|
|
for (i = 0; i < copied; i++) {
|