Re: [patch] raw: don't allow the creation of a raw device with minor number 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 12 2007 11:32, Jeff Moyer wrote:

>Date: Fri, 12 Jan 2007 11:32:11 -0500
>From: Jeff Moyer <[email protected]>
>To: Linux Kernel Mailing List <[email protected]>
>Cc: Steven Fernandez <[email protected]>, Andrew Morton <[email protected]>
>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:

No idea what to say about this... probably:

  What:   RAW driver (CONFIG_RAW_DRIVER)
  When:   December 2005
  Why:    declared obsolete since kernel 2.6.3
          O_DIRECT can be used instead
  Who:    Adrian Bunk <[email protected]>



	-`J'
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux