git: Fix wrong argument to allproc_scan in elf_brand_inuse()

YONETANI Tomokazu y0netan1 at crater.dragonflybsd.org
Tue Dec 13 13:57:27 PST 2011


commit 46e5a8baaa6bf87d727b3a004c0235be87813f7a
Author: YONETANI Tomokazu <y0netan1 at dragonflybsd.org>
Date:   Wed Dec 14 06:44:37 2011 +0900

    Fix wrong argument to allproc_scan in elf_brand_inuse()
    
    the callback expects data to be the address of elf_brand_inuse_info
    but the caller passed something else.  this fixes kernel panic upon
    `kldunload linux'.

Summary of changes:
 sys/kern/imgact_elf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/46e5a8baaa6bf87d727b3a004c0235be87813f7a


-- 
DragonFly BSD source repository





More information about the Commits mailing list