mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Neale Banks <neale@lowendale.com.au>
Cc: paul@clubi.ie, linux-kernel@vger.kernel.org
Subject: Re: chmod of active swap file blocks
Date: Thu, 1 Jan 2004 02:12:41 -0800	[thread overview]
Message-ID: <20040101021241.31830e30.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.05.10401011905310.31562-100000@marina.lowendale.com.au>

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.

  reply	other threads:[~2004-01-01 10:12 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 [this message]
2004-01-01 14:10         ` Andries Brouwer
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=20040101021241.31830e30.akpm@osdl.org \
    --to=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

Powered by JetHome