linux/drivers/base
Maneesh Soni 208f3d6175 [PATCH] Driver core: potentially fix use after free in class_device_attr_show
This moves the code to free devt_attr from class_device_del() to
class_dev_release() which is called after the last reference to the
corresponding kobject() is gone.

This allows us to keep the devt_attr alive while the corresponding
sysfs file is open.

Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-16 21:06:24 -07:00
..
power [PATCH] Driver core: Don't "lose" devices on suspend on failure 2005-06-20 15:15:37 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] Move device/driver code to drivers/base/dd.c 2005-06-20 15:15:13 -07:00
attribute_container.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
base.h [PATCH] driver core: Add the ability to bind drivers to devices from userspace 2005-06-29 22:48:04 -07:00
bus.c [PATCH] driver core: change bus_rescan_devices to return void 2005-06-29 22:48:04 -07:00
class.c [PATCH] Driver core: potentially fix use after free in class_device_attr_show 2005-08-16 21:06:24 -07:00
core.c [PATCH] Driver core: Use klist_del() instead of klist_remove(). 2005-06-29 22:48:05 -07:00
cpu.c [PATCH] generate hotplug events for cpu online 2005-06-25 16:24:31 -07:00
dd.c [PATCH] driver core: Add the ability to bind drivers to devices from userspace 2005-06-29 22:48:04 -07:00
dmapool.c [PATCH] Driver Core: drivers/base - drivers/i2c/chips/adm1026.c: update device attribute callbacks 2005-06-20 15:15:32 -07:00
driver.c [PATCH] driver core: add bus_find_device & driver_find_device functions 2005-06-29 22:48:03 -07:00
firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
firmware_class.c [PATCH] request_firmware(): avoid race conditions 2005-06-28 21:20:30 -07:00
init.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
map.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
node.c [PATCH] node local per-cpu-pages 2005-06-21 18:46:16 -07:00
platform.c [PATCH] DocBook: fix some descriptions 2005-05-01 08:59:26 -07:00
sys.c [ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... 2005-07-12 17:21:56 -04:00
transport_class.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00