All of lore.kernel.org
 help / color / mirror / Atom feed
From: daniel.baluta@gmail.com (Daniel Baluta)
To: kernelnewbies@lists.kernelnewbies.org
Subject: unlocked_ioctl explanation
Date: Thu, 19 May 2011 22:11:01 +0300	[thread overview]
Message-ID: <BANLkTiktJXky9P5Gjm7rVtr7_fsBc62p5g@mail.gmail.com> (raw)
In-Reply-To: <222949.7257.qm@web39310.mail.mud.yahoo.com>

2011/5/19 Ezequiel Garc?a <elezegarcia@yahoo.com.ar>
>
> Thanks Dave for your answer. I guess the same question has been answered several times before. For the interest reader, I've found these:
>
> http://unix.stackexchange.com/questions/4711/what-is-the-difference-between-ioctl-unlocked-ioctl-and-compat-ioctl
>
> http://lwn.net/Articles/119652/
>
> http://www.mail-archive.com/kernelnewbies at nl.linux.org/msg00269.html
>
> I have a remaining question, though. In the lwn article I read this:
>
> "The ioctl() system call has long been out of favor among the kernel developers, who see it as a completely uncontrolled entry point into the kernel".
>
> Is this pointing that ioctl() is planning to get removed from the kernel ? In that case what's the currently preferred mechanism for giving 'control commands' to device drivers ?

I would bet for 'sysfs'.

thanks,
Daniel.

      reply	other threads:[~2011-05-19 19:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18  3:23 unlocked_ioctl explanation Ezequiel García
2011-05-18  6:20 ` Dave Hylands
2011-05-19 17:53   ` Ezequiel García
2011-05-19 19:11     ` Daniel Baluta [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTiktJXky9P5Gjm7rVtr7_fsBc62p5g@mail.gmail.com \
    --to=daniel.baluta@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.