From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Jan Kara <jack@suse.cz>, linux-kernel@vger.kernel.org
Subject: Re: Why is FIBMAP ioctl root only?
Date: Thu, 22 Nov 2007 19:56:20 +0000 [thread overview]
Message-ID: <20071122195620.79c6ecf1@the-village.bc.nu> (raw)
In-Reply-To: <20071122102951.24e4e781@laptopd505.fenrus.org>
> probably principle of least privilege; the location on physical media
> for a file is clearly something internal to the OS, and non-trusted
> users normally don't have any business knowing that.
FIBMAP isn't correctly locked against misuse, and that requires FIBMAP is
safe against truncate and relocation. There was thread on l/k about this
a month ago or so.
Its also the wrong API (32bit, no notion of extents, compression etc)
next prev parent reply other threads:[~2007-11-22 19:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-22 18:17 Jan Kara
2007-11-22 18:29 ` Arjan van de Ven
2007-11-22 19:56 ` Alan Cox [this message]
2007-11-23 4:57 ` Theodore Tso
2007-11-22 18:53 ` Olivier Galibert
2007-11-22 18:59 ` Olivier Galibert
2007-11-22 19:54 ` Alan Cox
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=20071122195620.79c6ecf1@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=arjan@infradead.org \
--cc=jack@suse.cz \
--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 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®