kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Kernel drivers and IOCTLs
@ 2020-01-22  4:27 WyoFlippa
  2020-01-22 19:04 ` Greg KH
  2020-01-23 16:49 ` Valdis Klētnieks
  0 siblings, 2 replies; 5+ messages in thread
From: WyoFlippa @ 2020-01-22  4:27 UTC (permalink / raw)
  To: kernelnewbies

Hi,

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.

https://www.linuxjournal.com/article/8110


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

https://www.kernel.org/doc/html/latest/process/botching-up-ioctls.html


So are IOCTLs discouraged or not?

Thanks,

TW


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-05  4:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22  4:27 Kernel drivers and IOCTLs WyoFlippa
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).