lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 12 Jan 2007 17:58:41 -0500
From:	jmoyer@...hat.com
To:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Steven Fernandez <sfernand@...hat.com>,
	Andrew Morton <akpm@...l.org>
Subject: Re: [patch] raw: don't allow the creation of a raw device with minor number 0

==> Regarding Re: [patch] raw: don't allow the creation of a raw device with minor number 0; Jan Engelhardt <jengelh@...ux01.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@...hat.com>
>> To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
>> Cc: Steven Fernandez <sfernand@...hat.com>, Andrew Morton <akpm@...l.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@...sta.de>

It's still present, still used, and so would benefit from being fixed, in
my opinion.

Cheers,

Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ