From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>, Thomas Viehmann <tv@beamnet.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: permissions of /proc/tty/driver
Date: Mon, 17 Jan 2005 12:23:08 +0000 [thread overview]
Message-ID: <1105961207.12695.38.camel@localhost.localdomain> (raw)
In-Reply-To: <1105949676.6304.50.camel@laptopd505.fenrus.org>
On Llu, 2005-01-17 at 08:14, Arjan van de Ven wrote:
> On Sun, 2005-01-16 at 23:26 +0100, Christoph Hellwig wrote:
> > 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 ?
I went for a dig in the archives
The original fix removed the tx/rx data from the file if you weren't
priviledged. Linus did the directory hack because he didn't want to
worry about drivers that got missed out/not fixed.
So there's a janitor project there - to go through all the tty/serial
drivers and make sure they don't give out excessively useful information
to non CAP_SYS_RAWIO users, then loosen permissions.
prev parent reply other threads:[~2005-01-17 13:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <41E80535.1060309@beamnet.de>
2005-01-16 12:04 ` Christoph Hellwig
2005-01-16 13:13 ` Thomas Viehmann
2005-01-16 19:13 ` Sergey Vlasov
2005-01-19 10:32 ` Christoph Hellwig
2005-01-16 21:11 ` Alan Cox
2005-01-16 22:26 ` Christoph Hellwig
2005-01-17 8:14 ` Arjan van de Ven
2005-01-17 12:23 ` Alan Cox [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1105961207.12695.38.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=arjan@infradead.org \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=tv@beamnet.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome