summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-x86_64-has-stack-protector.sh
diff options
context:
space:
mode:
authorAmos Waterland <apw@us.ibm.com>2006-09-29 02:00:08 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 09:18:12 -0700
commit01d553d0fe9f90a132c5ff494872be8d4126be1e (patch)
tree64d21c1cc1073822c594a57e72aececd5248f1f2 /scripts/gcc-x86_64-has-stack-protector.sh
parentf400e198b2ed26ce55b22a1412ded0896e7516ac (diff)
downloadtalos-obmc-linux-01d553d0fe9f90a132c5ff494872be8d4126be1e.tar.gz
talos-obmc-linux-01d553d0fe9f90a132c5ff494872be8d4126be1e.zip
[PATCH] Chardev checking of overlapping ranges
The code in __register_chrdev_region checks that if the driver wishing to register has the same major as an existing driver the new minor range is strictly less than the existing minor range. However, it does not also check that the new minor range is strictly greater than the existing minor range. That is, if driver X has registered with major=x and minor=0-3, __register_chrdev_region will allow driver Y to register with major=x and minor=1-4. Signed-off-by: Amos Waterland <apw@us.ibm.com> Cc: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/gcc-x86_64-has-stack-protector.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud