From: jmoyer@redhat.com
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Steven Fernandez <sfernand@redhat.com>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [patch] raw: don't allow the creation of a raw device with minor number 0
Date: Fri, 12 Jan 2007 17:58:41 -0500 [thread overview]
Message-ID: <m38xg73l9a.fsf@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0701122341030.19224@yvahk01.tjqt.qr> (Jan Engelhardt's message of "Fri, 12 Jan 2007 23:41:28 +0100 (MET)")
==> Regarding Re: [patch] raw: don't allow the creation of a raw device with minor number 0; Jan Engelhardt <jengelh@linux01.gwdg.de> adds:
jengelh> On Jan 12 2007 11:32, Jeff Moyer wrote:
>> Date: Fri, 12 Jan 2007 11:32:11 -0500
>> From: Jeff Moyer <jmoyer@redhat.com>
>> To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
>> Cc: Steven Fernandez <sfernand@redhat.com>, Andrew Morton <akpm@osdl.org>
>> Subject: [patch] raw: don't allow the creation of a raw device with minor
>> number 0
>>
>> Hi,
>>
>> Minor number 0 (under the raw major) is reserved for the rawctl device
>> file, which is used to query, set, and unset raw device bindings.
>> However, the ioctl interface does not protect the user from specifying
>> a raw device with minor number 0:
jengelh> No idea what to say about this... probably:
jengelh> What: RAW driver (CONFIG_RAW_DRIVER)
jengelh> When: December 2005
jengelh> Why: declared obsolete since kernel 2.6.3
jengelh> O_DIRECT can be used instead
jengelh> Who: Adrian Bunk <bunk@stusta.de>
It's still present, still used, and so would benefit from being fixed, in
my opinion.
Cheers,
Jeff
next prev parent reply other threads:[~2007-01-12 22:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-12 16:32 [patch] raw: don't allow the creation of a raw device with minor number 0 Jeff Moyer
2007-01-12 22:41 ` Jan Engelhardt
2007-01-12 22:58 ` jmoyer [this message]
2007-01-28 20:23 ` Dave Jones
[not found] <7CxBM-2pk-23@gated-at.bofh.it>
[not found] ` <7CDnP-30W-9@gated-at.bofh.it>
[not found] ` <7CDxA-3cL-9@gated-at.bofh.it>
[not found] ` <7IoP7-5nQ-13@gated-at.bofh.it>
2007-01-30 15:52 ` Bodo Eggert
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=m38xg73l9a.fsf@redhat.com \
--to=jmoyer@redhat.com \
--cc=akpm@osdl.org \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sfernand@redhat.com \
/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