1
linux/drivers/ieee1394
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
..
config_roms.c ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
config_roms.h ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
csr1212.c ieee1394: csr1212: log if devices have CRC errors in their ROM 2007-04-30 00:00:29 +02:00
csr1212.h ieee1394: csr1212: coding style 2007-04-30 00:00:28 +02:00
csr.c ieee1394: usecs_to_jiffies takes unsigned int argument 2006-12-07 21:29:08 +01:00
csr.h [PATCH] ieee1394: clean up declarations of hpsb_*_config_rom 2006-07-03 12:02:31 -04:00
dma.c ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
dma.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
dv1394-private.h [PATCH] ieee1394: dv1394: sem2mutex conversion 2006-07-03 12:02:32 -04:00
dv1394.c ieee1394: convert ieee1394 from "struct class_device" to "struct device" 2007-07-10 00:07:39 +02:00
dv1394.h
eth1394.c [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
eth1394.h ieee1394: eth1394: handle tlabel exhaustion 2007-05-27 23:20:59 +02:00
highlevel.c ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
highlevel.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
hosts.c ieee1394: first minimal NUMA awareness 2007-07-10 00:07:40 +02:00
hosts.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
ieee1394_core.c ieee1394: ohci1394: fix initialization if built non-modular 2007-09-20 21:19:45 +02:00
ieee1394_core.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
ieee1394_hotplug.h [PATCH] ieee1394: remove redundant code from ieee1394_hotplug.h 2006-07-03 12:02:30 -04:00
ieee1394_transactions.c ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
ieee1394_transactions.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
ieee1394_types.h ieee1394: safer definition of empty macros 2006-09-17 19:31:20 +02:00
ieee1394-ioctl.h ieee1394: cycle timer read extension for raw1394 2007-02-17 14:39:33 +01:00
ieee1394.h [PATCH] ieee1394: coding style and comment fixes in midlayer header files 2006-07-03 12:02:28 -04:00
iso.c ieee1394: iso.c needs sched.h 2007-04-30 00:00:29 +02:00
iso.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
Kconfig ieee1394: sbp2: more correct Kconfig dependencies 2007-08-02 20:34:16 +02:00
Makefile the scheduled IEEE1394_OUI_DB removal 2007-02-08 20:57:43 +01:00
nodemgr.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
nodemgr.h ieee1394: convert ieee1394 from "struct class_device" to "struct device" 2007-07-10 00:07:39 +02:00
ohci1394.c ieee1394: ohci1394: fix initialization if built non-modular 2007-09-20 21:19:45 +02:00
ohci1394.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
pcilynx.c ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
pcilynx.h
raw1394-private.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
raw1394.c raw1394 __user annotation 2007-07-26 11:11:57 -07:00
raw1394.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
sbp2.c ieee1394: sbp2: fix sbp2_remove_device for error cases 2007-08-25 18:00:26 +02:00
sbp2.h ieee1394: sbp2: change some module parameters from int to bool 2007-07-10 00:07:41 +02:00
video1394.c ieee1394: convert ieee1394 from "struct class_device" to "struct device" 2007-07-10 00:07:39 +02:00
video1394.h