Date: Fri, 8 Jan 1999 02:50:01 -0800 (PST) From: Doug Rabson <dfr@nlsystems.com> To: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/9359: implement support for adding syscalls in KLD modules Message-ID: <199901081050.CAA27174@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/9359; it has been noted by GNATS. From: Doug Rabson <dfr@nlsystems.com> To: Assar Westerlund <assar@sics.se> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/9359: implement support for adding syscalls in KLD modules Date: Fri, 8 Jan 1999 10:43:21 +0000 (GMT) On 7 Jan 1999, Assar Westerlund wrote: > Doug Rabson <dfr@nlsystems.com> writes: > > This looks good on first reading. Could you update the syscall kld > > example in share/examples/kld to use your new mechanism. > > Sure, or rather, I added a new one in share/examples/kld/syscall and > removed the misc one. I also made a little modifications to my > previous patches to be able to retrieve the allocated syscall number. > > I think some more general way of communicating the results of > dynamically allocating device major numbers and system calls number to > user-land is needed. I'm not sure how it should look like, but the > `-p' option to modload was at least a beginning. Thanks for this - I'll try and get it committed in the next day or two. I thought about the syscall number problem too and my best idea was to extend the struct module_stat with a type specific field which the syscall module handler could use to report the syscall index. I've written myself a note to work on this (it shouldn't be hard). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901081050.CAA27174>