Kernel Newbies archive on
 help / color / Atom feed
From: WyoFlippa <>
Subject: Kernel drivers and IOCTLs
Date: Tue, 21 Jan 2020 22:27:01 -0600
Message-ID: <> (raw)


I'm working on a driver that would verify a Linux or U-Boot image is 
secure and I need to pass parameters such as the public key, starting 
address, etc. I'd heard in talking to developers that IOCTLs are frowned 
upon. I also found this article that seems to indicate that using sysfs 
or proc is a better way to go.

but then I see this article from 2013 which is more recent than the article.

So are IOCTLs discouraged or not?



Kernelnewbies mailing list

             reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-22  4:27 WyoFlippa [this message]
2020-01-22 19:04 ` Greg KH
2020-01-23 16:49 ` Valdis Klētnieks
2020-02-05  2:57   ` WyoFlippa
2020-02-05  4:01     ` Valdis Klētnieks

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:

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

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Kernel Newbies archive on

Archives are clonable:
	git clone --mirror kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ \
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone