Re: Is it time for remove (crap) ALSA from kernel tree ?

Miklos Szeredi
2007-06-29T16:16:23Z

> > > Not as if it would be hard to add ioctl support to fuse. What fuse
> > > can't handle is the data argument of ioctl(), so the most it could do
> > > is give the filesystem a pid (tid) and a virtual address. The
> > > userspace fs could then get/put the data through /proc/<pid>/mem.
> >
> > Hork...
> >
> > Identify the generic ioctls that are relevant to a FUSE file system and
> > have real meaning *and* are useful.
>
> I don't think there are any such.
>
> The point in this thread was I think about emulating an OSS sound
> device through a fuse fs. In that case fuse would need _generic_
> ioctl support, which simply can't be done without weird userspace
> hacks.

Well, had a look at what FUSD does. It assumes that the ioctl
argument is stuctured according to the command. If all OSS ioctls are
like that, then fine, fuse can support it properly.

The drawback of this is that ioctls which aren't structured properly
could cause weird failures due to wrong data being accessed by the
poor unknowing kernel.

Miklos