Re: replacing ioctl()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 23, 2006 at 06:21:34PM +0000, Bahadir Balban wrote:
> Hi,
> 
> As you know the ioctl() call is notoriously overused in all sorts of
> driver classes. It's a single call that does so many different things.
> If you were to replace it, what would you come up with as a solution?
> Would it be tedious to introduce new system calls for each class, to
> manipulate network devices, or character devices separately? Or maybe
> new calls per ioctl() purpose, rather than per class? What would be
> the best division?

It all depends on what you are trying to do.  See the linux-kernel and
kernel-mentors mailing list archives for the different times this
question has come up, and suggested solutions on what to do.

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux