From: kaih@khms.westfalen.de (Kai Henningsen)
To: linux-kernel@vger.kernel.org
Subject: Re: setfsuid on ext2 weirdness (2.4)
Date: 08 Jan 2001 23:39:00 +0200 [thread overview]
Message-ID: <7tSnVTQ1w-B@khms.westfalen.de> (raw)
In-Reply-To: <93d7fr$429$1@penguin.transmeta.com>
In-Reply-To: <93d7fr$429$1@penguin.transmeta.com>
torvalds@transmeta.com (Linus Torvalds) wrote on 08.01.01 in <93d7fr$429$1@penguin.transmeta.com>:
> And hey, if you think the above is confusing, try making your /dev/null
> a regular (writable) file by mistake. Now THAT will be confusing as
> hell: things will actually work surprisingly well, but some thing
> _really_ don't work the way they are intended to. And chasing it down
> is an exercise in futility. Yes, I've done that at least twice as root
> by mistake.
So have I. It's so damned easy. Just remove the original; pretty soon
*something* will create a plain file there.
Now you have:
* Actual input reading from /dev/null (and it changes!).
* Unusual permissions on /dev/null
Fun fun fun. Many unusual failure modes.
MfG Kai
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-01-09 0:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-08 1:55 setfsuid on ext2 weirdness (2.4) Bjorn Wesen
2001-01-08 11:02 ` Alan Cox
2001-01-08 20:21 ` Linus Torvalds
2001-01-08 21:39 ` Kai Henningsen [this message]
[not found] <200101082021.MAA04177@penguin.transmeta.com>
2001-01-08 20:31 ` Bjorn Wesen
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=7tSnVTQ1w-B@khms.westfalen.de \
--to=kaih@khms.westfalen.de \
--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.