Date: Fri, 8 Jan 1999 03:10:01 -0800 (PST) From: Assar Westerlund <assar@sics.se> To: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/9359: implement support for adding syscalls in KLD modules Message-ID: <199901081110.DAA28001@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: Assar Westerlund <assar@sics.se> To: Doug Rabson <dfr@nlsystems.com> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/9359: implement support for adding syscalls in KLD modules Date: 08 Jan 1999 12:02:16 +0100 Doug Rabson <dfr@nlsystems.com> writes: > Thanks for this - I'll try and get it committed in the next day or two. Great. > 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). This would actually make even more sense for device drivers. As to system calls, what would you think about adding the name to `struct sysent' and then export some interface (sysctl?) for mapping between names and numbers to userland? (This is not totally unrelated to what Solaris does with /etc/name_to_sysnum.) /assar 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?199901081110.DAA28001>