Fix wrong argument to allproc_scan in elf_brand_inuse()
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Tue, 13 Dec 2011 21:44:37 +0000 (06:44 +0900)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Tue, 13 Dec 2011 21:56:29 +0000 (06:56 +0900)
commit46e5a8baaa6bf87d727b3a004c0235be87813f7a
tree0934b752b0a82dc999cb99810a381660704cb42f
parentb4d6d8bb16b6a30fb1a5ecf6924e88c224ba8db8
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'.
sys/kern/imgact_elf.c