lkml.org 
[lkml]   [2015]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Fwd: Question about kernel interfaces
From
Date
On Fri, 09 Jan 2015 18:00:07 +0530, Siddhartha De said:

> In what timeframe should we migrate to "pure" sysfs and drop using
> any ioctls (if a sysfs interface exists)?

Pretty much the answer is "you don't", for the wsame reason that there's still
a lot of non-process stuff in /proc - there's no good way to clean up /pron up /
proc or get rid of ioctl()'s without breaking userspace.

And some ioctl's you can't get rid of because they're part of official
standards (for instance, all to TIO_FOO stuff for controlling a terminal are
part of POSIX - removing them would break code that used to be portable...

Or to put it differently - ioctl() virst appeared in Unix Version 7 in 1979.
From that, calculate how long it will take to get rid of.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-01-09 15:21    [W:0.029 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site