On Tue, 5 Dec 2000, Mark Cooke wrote:
>
> struct foo {
> unsigned int crufty_compatability_number;
> .
> .
> .
> };
>
> ?
The problem is not this, but structure alignment and copy_[to|from]_user
operations. This approach, although it's my preferred one (due to being
self-contained), requires synchronization between kernel and utility, and
this sometimes is not always true.
Anyhow, I still prefer this approach over the "tons of different ioctl's"
one. I'd like to get the opinion of the community though (especially
Alan).
Later,
Ivan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: [RFC-2] Configuring Synchronous Interfaces in Linux Francois Romieu
- Re: [RFC-2] Configuring Synchronous Interfaces in Linux Alan Cox
- Re: [RFC-2] Configuring Synchronous Interfaces in Li... Greg Parrott
- Re: [RFC-2] Configuring Synchronous Interfaces in Li... Ivan Passos
- Re: [RFC-2] Configuring Synchronous Interfaces i... Peter Samuelson
- Re: [RFC-2] Configuring Synchronous Interfaces i... Alan Cox
- Re: [RFC-2] Configuring Synchronous Interfaces in Linux Matthew G. Marsh
- Re: [RFC-2] Configuring Synchronous Interfaces in Linux Paul Fulghum
- Re: [RFC-2] Configuring Synchronous Interfaces in Linux Ivan Passos
- Re: [RFC-2] Configuring Synchronous Interfaces in Linux Stuart Lynne
- Re: [RFC-2] Configuring Synchronous Interfaces in Li... Alan Cox
- Re: [RFC-2] Configuring Synchronous Interfaces i... Dan Hollis
- Re: [RFC-2] Configuring Synchronous Interfac... Stuart Lynne
- Re: [RFC-2] Configuring Synchronous Interfaces i... Krzysztof Halasa
- Re: [RFC-2] Configuring Synchronous Interfac... Alan Cox
- Re: [RFC-2] Configuring Synchronous Inte... Jeff Garzik
- Re: [RFC-2] Configuring Synchronous... Alan Cox
- parport0 problem ebi4
- Re: [RFC-2] Configuring Synchronous Inte... Krzysztof Halasa

