> On May 15, 2015, at 7:37 PM, matthew green <m...@eterna.com.au> wrote: > > > "Matt Thomas" writes: >> Module Name: src >> Committed By: matt >> Date: Fri May 15 07:52:51 UTC 2015 >> >> Modified Files: >> src/sys/compat/netbsd32: netbsd32_lwp.c >> >> Log Message: >> In lwp_ctl, convert ptr to 32 bits before copyout. > > i wonder if we should KASSERT() that the vaddr_t fits in 32 bits? > or … fits in VM_*ADDRESS_USER?
If we do (and I’m not saying we should), that should be done in NETBSD32PTR32 so it picks up every instance.