Fix getgroups/setgroups signature.
Regen for getgroups/setgroups update.
Fix signed vs. unsigned comparison in getgroups16() syscall. Negative
gisetsize values now fail with EINVAL as expected.
netbt: rename some attach/detach functions to have _pcb suffix, so
we could use standard attach/detach naming for pr_usrreq functions.
No functional change.
Put malloc.h back; we still need it.
Adjust PR_WRAP_USRREQS() to include the attach/detach functions.
We still need the kernel-lock for some corner cases.
if_free() instead of direct call to free() to avoid diagnostic panic

Bug exposed by justin's Lua ljsyscall tests:
http://build.myriabit.eu:8012/waterfall
Sync with the ipv4 code and call ifp->if_output() with KERNEL_LOCK
held.
Problem reported and fix tested by njoly@ on current-users@
Fix wrong instruction; mrc => mcr
spelling in comment
avoid error path SIGSEGV