public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* TIOCTTYGSTRUCT
@ 2003-03-28 15:49 Andries.Brouwer
  2003-03-31 21:27 ` TIOCTTYGSTRUCT Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Andries.Brouwer @ 2003-03-28 15:49 UTC (permalink / raw)
  To: tytso; +Cc: linux-kernel

Hi Ted,

Would you mind if I removed TIOCTTYGSTRUCT?

I suppose you don't need it any longer, and otherwise
could easily add some debugging stuff again when needed.
This ioctl exports lots of kernel-internal stuff that
userspace has no business looking at.
The direct reason I ask is that it also exports a kdev_t,
and the meaning of that will change.

Andries

>From Changelog:
Sat Nov 26 11:59:24 1994  Theodore Y. Ts'o  (tytso@rt-11)

        * tty_io.c (tty_ioctl): Add support for the new ioctl
                TIOCTTYGSTRUCT, which allow a kernel debugging program
                direct read access to the tty and tty_driver structures.

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

* Re: TIOCTTYGSTRUCT
  2003-03-28 15:49 TIOCTTYGSTRUCT Andries.Brouwer
@ 2003-03-31 21:27 ` Theodore Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2003-03-31 21:27 UTC (permalink / raw)
  To: Andries.Brouwer; +Cc: linux-kernel

On Fri, Mar 28, 2003 at 04:49:46PM +0100, Andries.Brouwer@cwi.nl wrote:
> Hi Ted,
> 
> Would you mind if I removed TIOCTTYGSTRUCT?
> 
> I suppose you don't need it any longer, and otherwise
> could easily add some debugging stuff again when needed.
> This ioctl exports lots of kernel-internal stuff that
> userspace has no business looking at.

Sure, go ahead; I'm pretty sure no one has used it for at least 6-7
years...

						- Ted

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

end of thread, other threads:[~2003-03-31 23:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-28 15:49 TIOCTTYGSTRUCT Andries.Brouwer
2003-03-31 21:27 ` TIOCTTYGSTRUCT Theodore Ts'o

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