public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: no ioctls for serial ports? [was Re: LANANA: To Pending DeviceNumberRegistrants]
@ 2001-05-20 12:32 Andries.Brouwer
  2001-05-20 12:45 ` Alexander Viro
  0 siblings, 1 reply; 6+ messages in thread
From: Andries.Brouwer @ 2001-05-20 12:32 UTC (permalink / raw)
  To: abramo, viro
  Cc: alan, hpa, jgarzik, jsimmons, linux-kernel, neilb, pavel,
	torvalds

> Getting a list of all ioctls in the tree, along with types of their arguments
> would be a great start. Anyone willing to help with that?

% man 2 ioctl_list

gives a very outdated list. Collecting the present list is trivial
but time-consuming. If anyone does I would be happy if he also
sent me an updated ioctl_list.2

Andries

[PS I released man-pages-1.36 a few days ago]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: no ioctls for serial ports? [was Re: LANANA: To Pending DeviceNumberRegistrants]
@ 2001-05-20 13:42 Andries.Brouwer
  0 siblings, 0 replies; 6+ messages in thread
From: Andries.Brouwer @ 2001-05-20 13:42 UTC (permalink / raw)
  To: Andries.Brouwer, viro
  Cc: abramo, alan, hpa, jgarzik, jsimmons, linux-kernel, neilb, pavel,
	torvalds

> Andries, I wouldn't call it trivial.

I am a mathematician. Definition of trivial in this case:
"No intelligence required, just patience and careful work".

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: no ioctls for serial ports? [was Re: LANANA: To Pending DeviceNumber Registrants]
@ 2001-05-20  7:41 Alexander Viro
  2001-05-20  8:30 ` no ioctls for serial ports? [was Re: LANANA: To Pending DeviceNumberRegistrants] Abramo Bagnara
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Viro @ 2001-05-20  7:41 UTC (permalink / raw)
  To: Abramo Bagnara
  Cc: Linus Torvalds, Pavel Machek, James Simmons, Alan Cox, Neil Brown,
	Jeff Garzik, H. Peter Anvin, Linux Kernel Mailing List



On Sun, 20 May 2001, Abramo Bagnara wrote:

> I've just had a "so simple to risk to be stupid" idea.
> 
> To have /proc/self/fd/N/ioctl would not have the potential to suppress
> ioctl needs for *all* current uses?

No, it wouldn't. For one thing, it messes the only half-decent part of
procfs. For another, the real issue is how to eliminate the bogus
ioctls from userland programs and what to replace them with.

Crappy API won't become better if you simply change the calling conventions.
And problem with ioctls is that most of them are crappy APIs. Coming from
authors' laziness and/or debility.

So there is no easy way to solve that stuff - we'll need to rethink tons
of badly designed interfaces. Finding a way to represent them in fs is
the least of the problems.

And we really need to rethink them. Repackaged shit remains shit and the
whole point of exrecise is to get rid of it, not to shove it into a new
pile.


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

end of thread, other threads:[~2001-05-20 17:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-20 12:32 no ioctls for serial ports? [was Re: LANANA: To Pending DeviceNumberRegistrants] Andries.Brouwer
2001-05-20 12:45 ` Alexander Viro
2001-05-20 17:17   ` John Fremlin
  -- strict thread matches above, loose matches on Subject: below --
2001-05-20 13:42 Andries.Brouwer
2001-05-20  7:41 no ioctls for serial ports? [was Re: LANANA: To Pending DeviceNumber Registrants] Alexander Viro
2001-05-20  8:30 ` no ioctls for serial ports? [was Re: LANANA: To Pending DeviceNumberRegistrants] Abramo Bagnara
2001-05-20 10:09   ` Alexander Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox