DragonFly BSD
DragonFly commits List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kern: Update traps, sigbus->sigsegv, cleanup and fixes


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Jan 2012 10:49:23 -0800 (PST)

commit bab695198fa23db96fa7ddd4d192cacc1b08abf9
Author: John Marino <draco@marino.st>
Date:   Mon Jan 16 15:56:07 2012 +0100

    kern: Update traps, sigbus->sigsegv, cleanup and fixes
    
    The primary purpose of this changeset is to change the signal from
    bus error to segfault when an attempt to access protected memory is
    made.  In the process of doing this, it was noticed that there were
    differences between i386 and x86_64 as well as differences between
    the actual and virtual kernels.
    
    Several of these differences were addressed.  Extra whitespace was
    removed and some syncing between the divergent FreeBSD version was
    made.  Some "#if 0" sections were removed.  The virtual kernels were
    tested along with the real kernels.  A conservative approach was
    taken as there seems to more cruft that could come out.

Summary of changes:
 sys/platform/pc32/i386/trap.c        |   35 ++++++++-------------
 sys/platform/pc64/x86_64/trap.c      |   57 ++++++++++++----------------------
 sys/platform/vkernel/i386/trap.c     |   33 ++++++++------------
 sys/platform/vkernel64/x86_64/trap.c |   22 +++++++++----
 4 files changed, 61 insertions(+), 86 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bab695198fa23db96fa7ddd4d192cacc1b08abf9


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]