Subject: kern/32506: fdalloc() and friends did not make it through ktrace-lwp merge
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 01/12/2006 12:05:00
>Synopsis: fdalloc() and friends did not make it through ktrace-lwp merge
>Arrival-Date: Thu Jan 12 12:05:00 +0000 2006
>Originator: Ola Eriksson
>Release: NetBSD 3.99.15
NetBSD herbert 3.99.15 NetBSD 3.99.15 (herbert) #0: Sat Jan 7 02:32:20 CET 2006 root@herbert:/usr/obj/sys/arch/i386/compile/herbert i386
It seems that when the ktrace-lwp branch was merged with HEAD, the manpages for fdalloc() and friends was updated to indicate that 'struct lwp' is now used instead of 'struct proc'. However, the sources are not updated to match these changes. This complicates, among other things, the adaption of the lkm from pkgsrc/net/arla to the kernel sources post 3.99.14.
Compare output from:
# grep fdalloc /usr/include/sys/filedescr.h
# man fdalloc
Either adapt fdalloc() and friends to use 'struct lwp' instead of 'struct proc' or change man-pages back to indicating that struct proc should be used.