int index, max; 
void segv_handler(int sig, union uml_pt_regs *regs){	int index, max;        struct faultinfo * fi = UPT_FAULTINFO(regs);        if(UPT_IS_USER(regs) && !SEGV_IS_FIXABLE(fi)){                bad_segv(*fi, UPT_IP(regs));		return;	}	max = sizeof(segfault_record)/sizeof(segfault_record[0]);	index = next_trap_index(max);	nsegfaults++;        segfault_record[index].address = FAULT_ADDRESS(*fi);	segfault_record[index].pid = os_getpid();        segfault_record[index].is_write = FAULT_WRITE(*fi);	segfault_record[index].sp = UPT_SP(regs);	segfault_record[index].is_user = UPT_IS_USER(regs);        segv(*fi, UPT_IP(regs), UPT_IS_USER(regs), regs);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/96e59245e1abf3ea2e98c4b9ee2ebd975db653db/trap_user.c/buggy/arch/um/kernel/trap_user.c