Re: [PATCH 2/3] UIO: Documentation

From: Alan Cox
Date: Thu Aug 09 2007 - 10:05:41 EST


> That's no UIO invention. Userspace software that uses kernel interfaces like
> syscall, device files, sysfs, and so on, is by definition _not_ a derived work
> of the kernel and can be distributed under any license.

This I believe incorrect. Please cite caselaw if you know better.

> With UIO, you have a kernel module that is so small, that even somebody who
> hasn't got the hardware can easily review it and tell if the code is OK or not.
> It is easy to maintain and doesn't reveal any secrets about the hardware.

False

Because you have no idea if the interface is correct or the userspace is
doing stuff like triggering DMA to arbitary addresses via the interface
or mmap functions. If it does so then even if its root only you've blown
your security model.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/