1 /* 1 2 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@ 3 * Licensed under the GPL 4 */ 5 6 #include <arch.h> 7 #include <sysdep/ptrace.h> 8 9 /* These two are from asm-um/uaccess.h and lin 10 struct exception_table_entry 11 { 12 unsigned long insn; 13 unsigned long fixup; 14 }; 15 16 const struct exception_table_entry *search_exc 17 18 /* Compare this to arch/i386/mm/extable.c:fixu 19 int arch_fixup(unsigned long address, struct u 20 { 21 const struct exception_table_entry *fi 22 23 fixup = search_exception_tables(addres 24 if (fixup) { 25 UPT_IP(regs) = fixup->fixup; 26 return 1; 27 } 28 return 0; 29 } 30
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.