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

git: kernel - Handle degenerate cases for fill_*regs*()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Nov 2011 09:01:24 -0800 (PST)

commit d64d3805b8fed58f561caac73c40fa8f8be03d1b
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Nov 16 09:00:26 2011 -0800

    kernel - Handle degenerate cases for fill_*regs*()
    
    * These routines can be called with the lwp in various states of disrepair
      so check for NULL and return EINVAL if required pieces are missing.

Summary of changes:
 sys/platform/pc32/i386/machdep.c         |   32 ++++++++++++++++-------------
 sys/platform/pc64/x86_64/machdep.c       |   30 +++++++++++++++------------
 sys/platform/vkernel/i386/cpu_regs.c     |    5 +++-
 sys/platform/vkernel64/x86_64/cpu_regs.c |    5 +++-
 4 files changed, 43 insertions(+), 29 deletions(-)

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


-- 
DragonFly BSD source repository



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