From: Andries Brouwer <aebr@win.tue.nl>
To: Andrew Morton <akpm@osdl.org>
Cc: Neale Banks <neale@lowendale.com.au>,
paul@clubi.ie, linux-kernel@vger.kernel.org
Subject: Re: chmod of active swap file blocks
Date: Thu, 1 Jan 2004 15:10:27 +0100 [thread overview]
Message-ID: <20040101151027.A2411@pclin040.win.tue.nl> (raw)
In-Reply-To: <20040101021241.31830e30.akpm@osdl.org>; from akpm@osdl.org on Thu, Jan 01, 2004 at 02:12:41AM -0800
On Thu, Jan 01, 2004 at 02:12:41AM -0800, Andrew Morton wrote:
> Neale Banks <neale@lowendale.com.au> wrote:
> >
> > How much of the original problem goes away if swapon(8) were to refuse to
> > activate a file/device which has ownership/mode which it doesn't like?
>
> I think swapon(8) should at least warn when the swapfile has inappropriate
> permissions. It's an obvious and outright security hole.
swapon had this warning for a while, but that generated lots of complaints.
Now this message is printed only when the -v (verbose) flag is given.
next prev parent reply other threads:[~2004-01-01 14:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-29 4:55 Paul Jakma
2003-12-29 5:16 ` Paul Jakma
2003-12-29 9:30 ` Andrew Morton
2003-12-29 17:25 ` Paul Jakma
2004-01-01 8:19 ` Neale Banks
2004-01-01 10:12 ` Andrew Morton
2004-01-01 14:10 ` Andries Brouwer [this message]
2004-01-01 21:40 ` Erik Andersen
2004-01-02 0:43 ` Paul Jakma
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=20040101151027.A2411@pclin040.win.tue.nl \
--to=aebr@win.tue.nl \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neale@lowendale.com.au \
--cc=paul@clubi.ie \
/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
all inboxes | Powered by JetHome®