Subject: Re: power management and related concerns
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 07/08/2006 17:08:27
In article <email@example.com>,
SODA Noriyuki <firstname.lastname@example.org> wrote:
>>>>>> On Fri, 7 Jul 2006 18:05:34 -0700,
> Jason Thorpe <email@example.com> said:
>>> this is false. we have added more info to several sysctl's that
>>> could have been ioctl's and it did not require versioning the
>>> interface. see KERN_PROC2.
>> I was pretty much speaking about ioctls.
>How ioctls differ from sysctl?
>It's just same with sysctl from this point of view.
>i.e. You can just assign different ioctl number.
The ioctl number has the size encoded in the ioctl. In sysctl it is separate.
So if you change the struct size in an ioctl, the ioctl number will change.
In the sysctl case, the size is passed in separately.