1 /* 1 2 * Copyright (C) 2004 - 2007 Jeff Dike (jdike@ 3 * Licensed under the GPL 4 */ 5 6 #include <sysdep/stub.h> 7 #include <sysdep/faultinfo.h> 8 #include <sysdep/mcontext.h> 9 #include <sys/ucontext.h> 10 11 void __attribute__ ((__section__ (".__syscall_ 12 stub_segv_handler(int sig, siginfo_t *info, vo 13 { 14 struct faultinfo *f = get_stub_data(); 15 ucontext_t *uc = p; 16 17 GET_FAULTINFO_FROM_MC(*f, &uc->uc_mcon 18 trap_myself(); 19 } 20 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.