Kernel drivers and IOCTLs

WyoFlippa wyoflippa at
Tue Jan 21 23:27:01 EST 2020


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?



More information about the Kernelnewbies mailing list