> > The generic method would basically have the same interface as ioctl()
> > or fcntl(), with the fd replaced by a pointer to the function name.
>
> Actually, the easiest way if to make a sysctl that exports the syscall
> number to useland.
>
> mysubsystem.foosyscall: 188
but there is a problem with syscall() in that according to
the manpages it cannot handle in/out parameters as instead
it is supported by ioctl/fcntl
am i mistaken ?
cheers
luigi
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- Re: [kernel patch] fcntl(...) to close many de... mouss
- Re: [kernel patch] fcntl(...) to close man... Jacques A. Vidrine
- Re: [kernel patch] fcntl(...) to close man... Daniel Eischen
- Re: [kernel patch] fcntl(...) to close man... Matt Dillon
- Re: [kernel patch] fcntl(...) to close man... mouss
- Re: [kernel patch] fcntl(...) to close man... Matt Dillon
- Re: [kernel patch] fcntl(...) to close man... Luigi Rizzo
- Re: [kernel patch] fcntl(...) to close man... Garrett Wollman
- Re: [kernel patch] fcntl(...) to close man... Luigi Rizzo
- Re: [kernel patch] fcntl(...) to close man... Alfred Perlstein
- Re: [kernel patch] fcntl(...) to close man... Luigi Rizzo
- Re: [kernel patch] fcntl(...) to close man... Garrett Wollman
- Re: [kernel patch] fcntl(...) to close man... Luigi Rizzo
- Re: [kernel patch] fcntl(...) to close man... Garrett Wollman
- Re: [kernel patch] fcntl(...) to close man... Bakul Shah
- Re: [kernel patch] fcntl(...) to close man... Poul-Henning Kamp
- Re: [kernel patch] fcntl(...) to close man... Bakul Shah
- Re: [kernel patch] fcntl(...) to close man... Poul-Henning Kamp
- Re: [kernel patch] fcntl(...) to close man... Matt Dillon
- Re: [kernel patch] fcntl(...) to close many descriptors mouss

