linux/drivers/misc
Kay Sievers 7eff2e7a8b Driver core: change add_uevent_var to use a struct
This changes the uevent buffer functions to use a struct instead of a
long list of parameters. It does no longer require the caller to do the
proper buffer termination and size accounting, which is currently wrong
in some places. It fixes a known bug where parts of the uevent
environment are overwritten because of wrong index calculations.

Many thanks to Mathieu Desnoyers for finding bugs and improving the
error handling.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:51:01 -07:00
..
hdpuftrs [POWERPC] Sky Cpu and Nexus: use seq_file/single_open on proc interface 2007-10-03 12:02:44 +10:00
ibmasm some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
Kconfig ACPI: thinkpad-acpi: revert new 2.6.23 CONFIG_THINKPAD_ACPI_INPUT_ENABLED option 2007-09-17 00:58:19 -04:00
Makefile [PATCH] Add 93cx6 eeprom library 2007-07-08 22:16:36 -04:00
asus-laptop.c Pull events into release branch 2007-08-25 01:44:01 -04:00
eeprom_93cx6.c eeprom_93cx6: shorten pulse timing to match spec (bis) 2007-07-10 12:41:09 -04:00
ioc4.c [PATCH] IOC3/IOC4: PCI mem space resources 2007-02-11 10:51:25 -08:00
lkdtm.c [PATCH] assigning enum constant to char * is vile, even if it happens to be 0 2007-02-09 08:28:48 -08:00
msi-laptop.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
phantom.c Misc: phantom, take care of pci posting 2007-05-23 20:14:14 -07:00
sony-laptop.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
thinkpad_acpi.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
thinkpad_acpi.h ACPI: thinkpad-acpi: revert new 2.6.23 CONFIG_THINKPAD_ACPI_INPUT_ENABLED option 2007-09-17 00:58:19 -04:00
tifm_7xx1.c misc/tifm_7xx1: replace deprecated irq flag 2007-06-01 08:18:28 -07:00
tifm_core.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00