Re: permissions of /proc/tty/driver

From: Arjan van de Ven
Date: Mon Jan 17 2005 - 03:20:34 EST


On Sun, 2005-01-16 at 23:26 +0100, Christoph Hellwig wrote:
> On Sun, Jan 16, 2005 at 09:11:03PM +0000, Alan Cox wrote:
> > On Sul, 2005-01-16 at 12:04, Christoph Hellwig wrote:
> > > > (where /proc/tty/driver/serial is mentioned as leaking sensitive
> > > > information), to me the contents of usbserial look innocent enough.
> > > > Do you have any hints on what might be a good solution?
> > >
> > > The permissions on the directory look indeed too strict to me. It might
> > > be better to just use strict permissions on /proc/tty/driver/serial
> > > indeed.
> >
> > The file containts transmit and receive byte counts, which means you can
> > both measure intercharacter delay and character count. Thats a big help
> > to password guessers
>
> I know. But that doesn't explain why we don't keep strict permissions
> only on that file but on the directory.

ls -la on the file gives you the size maybe ?



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/