7 Sep 2011 13:54
trap.c lossage (SIGILL)
Reinoud Zandijk <reinoud <at> heethoofdje.13thmonkey.org>
2011-09-07 11:54:50 GMT
2011-09-07 11:54:50 GMT
Hi folks, i've comitted the following patch to fix the bad address returned in the siginfo for the SIGILL signal on i386. There were also some concerns though about the preservation of the %cs2 register in i386/amd64's trap.c since it is not stored in the trapframe. Would it be a good idea to review/reaudit trap.c ? With regards, Reinoud Tested and comitted patch for i386: Index: trap.c =================================================================== RCS file: /cvsroot/src/sys/arch/i386/i386/trap.c,v retrieving revision 1.261 retrieving revision 1.262 diff -u -r1.261 -r1.262 --- trap.c 3 Apr 2011 22:29:26 -0000 1.261 +++ trap.c 7 Sep 2011 09:24:55 -0000 1.262 <at> <at> -1,4 +1,4 <at> <at> -/* $NetBSD: trap.c,v 1.261 2011/04/03 22:29:26 dyoung Exp $ */ +/* $NetBSD: trap.c,v 1.262 2011/09/07 09:24:55 reinoud Exp $ */ /*- * Copyright (c) 1998, 2000, 2005, 2006, 2007, 2008 The NetBSD Foundation, * Inc. <at> <at> -68,7 +68,7 <at> <at> */(Continue reading)
RSS Feed