From: Christoph Hellwig <hch@infradead.org>
To: Linux kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [Patch] TIOCCONS security
Date: Wed, 25 Aug 2004 16:15:04 +0100 [thread overview]
Message-ID: <20040825161504.A8896@infradead.org> (raw)
In-Reply-To: <20040825151106.GA21687@suse.de>; from od@suse.de on Wed, Aug 25, 2004 at 05:11:06PM +0200
On Wed, Aug 25, 2004 at 05:11:06PM +0200, Olaf Dabrunz wrote:
> Hi,
>
> the ioctl TIOCCONS allows any user to redirect console output to another
> tty. This allows anyone to suppress messages to the console at will.
>
> AFAIK nowadays not many programs write to /dev/console, except for start
> scripts and the kernel (printk() above console log level).
>
> Still, I believe that administrators and operators would not like any
> user to be able to hijack messages that were written to the console.
>
> The only user of TIOCCONS that I am aware of is bootlogd/blogd, which
> runs as root. Please comment if there are other users.
Oh, common. Do your basic research - this has been rejected a few times
and there have been better proposals. Just use goggle a little bit.
next prev parent reply other threads:[~2004-08-25 15:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-25 15:11 [Patch] TIOCCONS security Olaf Dabrunz
2004-08-25 15:15 ` Christoph Hellwig [this message]
2004-08-25 15:16 ` Christoph Hellwig
2004-08-25 16:18 ` Olaf Dabrunz
2004-08-25 21:03 ` Kees Cook
2004-08-26 21:22 ` Valdis.Kletnieks
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=20040825161504.A8896@infradead.org \
--to=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.