[PATCH] register_chrdev_region() don't hand out the LOCAL/EXPERIMENTAL majors
commit215122e1110f97a3f478829049b9840cf8fdde57
authorAndrew Morton <akpm@osdl.org>
Mon, 12 Feb 2007 08:51:43 +0000 (12 00:51 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:27 +0000 (12 09:48 -0800)
treed0da44b5e8fc9836dc4e3e5745234fa01f6a87d8
parent6ab8eb1cffcc5640ca5b07c2a0ddfaa8fbbcc754
[PATCH] register_chrdev_region() don't hand out the LOCAL/EXPERIMENTAL majors

As pointed out in http://bugzilla.kernel.org/show_bug.cgi?id=7922, dynamic
chardev major allocation can hand out majors which LANANA has defined as being
for local/experimental use.

Cc: Torben Mathiasen <device@lanana.org>
Cc: Greg KH <greg@kroah.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Tomas Klas <tomas.klas@mepatek.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/char_dev.c