Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 11:26:29 -0800 (PST)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        bright@wintelcom.net (Alfred Perlstein)
Cc:        rizzo@aciri.org, wollman@khavrinen.lcs.mit.edu, hackers@FreeBSD.ORG
Subject:   Re: [kernel patch] fcntl(...) to close many descriptors
Message-ID:  <200101291926.f0TJQYK34514@iguana.aciri.org>
In-Reply-To: <20010129112337.Y26076@fw.wintelcom.net> from Alfred Perlstein at "Jan 29, 2001 11:23:37 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101291926.f0TJQYK34514>