Subject: Re: Large inodes for ffs
To: Chris G. Demetriou <cgd@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 03/24/1999 12:49:41
On 24 Mar 1999 11:21:00 -0800 
 cgd@netbsd.org (Chris G. Demetriou) wrote:

 > (2) i believe that the user-land interface could easily be exported a
 > different, better way that doesn't involve a new syscall.
 > e.g. fcntl().  fcntl() is "file control".  it's ioctl-like already...

Unfortunately, fcntl()'s interface is totally, completely, and utterly
broken.

int	fcntl(int fd, int cmd, int arg);

That "int arg" is the killer; can't pass a pointer to data.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>