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

看板DFBSD_commit作者時間14年前 (2011/11/17 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Em_fhyj (DFBSD_commit)