| To: | Mark Cooke <mpc@xxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [RFC-2] Configuring Synchronous Interfaces in Linux |
| From: | Ivan Passos <lists@xxxxxxxxxxxx> |
| Date: | Tue, 5 Dec 2000 11:46:49 -0800 (PST) |
| Cc: | Linux Kernel List <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.30.0012051925330.6718-100000@xxxxxxxxxxxxxxxxxx> |
| Sender: | owner-netdev@xxxxxxxxxxx |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [RFC-2] Configuring Synchronous Interfaces in Linux, Ivan Passos |
|---|---|
| Next by Date: | Re: [RFC-2] Configuring Synchronous Interfaces in Linux, Peter Samuelson |
| Previous by Thread: | Re: [RFC-2] Configuring Synchronous Interfaces in Linux, Ivan Passos |
| Next by Thread: | IGMPv3 for Linux ?, Matti Aarnio |
| Indexes: | [Date] [Thread] [Top] [All Lists] |