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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Nov 16 09:02:53 PST 2011


commit d64d3805b8fed58f561caac73c40fa8f8be03d1b
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list