]> git.neil.brown.name Git - history.git/commit
[PATCH] EDD: set sysfs attr owner field
authorAndrew Morton <akpm@osdl.org>
Thu, 22 Apr 2004 06:36:07 +0000 (23:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 22 Apr 2004 06:36:07 +0000 (23:36 -0700)
commit507662e17a13f499770b98e6e6b5c6a13b737e63
tree63238788fc53485a45379b26cdbf472ea5c474be
parentfcde14075d7839bca1cbb01c8afb6221d25e0447
[PATCH] EDD: set sysfs attr owner field

From: Matt Domsch <Matt_Domsch@dell.com>

The patch below from Michael E.  Brown properly sets the owner field of a
sysfs attribute.  Without this patch, it is possible to crash the kernel with
a simultaneous insmod/rmmod while reading files exported by the module.
drivers/firmware/edd.c