• Kay Sievers's avatar
    Driver core: change add_uevent_var to use a struct · 7eff2e7a
    Kay Sievers authored
    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: default avatarKay Sievers <kay.sievers@vrfy.org>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
    Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    
    7eff2e7a
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
at91_cf.c Loading commit data...
au1000_db1x00.c Loading commit data...
au1000_generic.c Loading commit data...
au1000_generic.h Loading commit data...
au1000_pb1x00.c Loading commit data...
au1000_xxs1500.c Loading commit data...
cardbus.c Loading commit data...
cirrus.h Loading commit data...
cistpl.c Loading commit data...
cs.c Loading commit data...
cs_internal.h Loading commit data...
ds.c Loading commit data...
ds_internal.h Loading commit data...
hd64465_ss.c Loading commit data...
i82092.c Loading commit data...
i82092aa.h Loading commit data...
i82365.c Loading commit data...
i82365.h Loading commit data...
m32r_cfc.c Loading commit data...
m32r_cfc.h Loading commit data...
m32r_pcc.c Loading commit data...
m32r_pcc.h Loading commit data...
m8xx_pcmcia.c Loading commit data...
o2micro.h Loading commit data...
omap_cf.c Loading commit data...
pcmcia_ioctl.c Loading commit data...
pcmcia_resource.c Loading commit data...
pd6729.c Loading commit data...
pd6729.h Loading commit data...
pxa2xx_base.c Loading commit data...
pxa2xx_base.h Loading commit data...
pxa2xx_lubbock.c Loading commit data...
pxa2xx_mainstone.c Loading commit data...
pxa2xx_sharpsl.c Loading commit data...
ricoh.h Loading commit data...
rsrc_mgr.c Loading commit data...
rsrc_nonstatic.c Loading commit data...
sa1100_assabet.c Loading commit data...
sa1100_badge4.c Loading commit data...
sa1100_cerf.c Loading commit data...
sa1100_generic.c Loading commit data...
sa1100_generic.h Loading commit data...
sa1100_h3600.c Loading commit data...
sa1100_jornada720.c Loading commit data...
sa1100_neponset.c Loading commit data...
sa1100_shannon.c Loading commit data...
sa1100_simpad.c Loading commit data...
sa1111_generic.c Loading commit data...
sa1111_generic.h Loading commit data...
sa11xx_base.c Loading commit data...
sa11xx_base.h Loading commit data...
soc_common.c Loading commit data...
soc_common.h Loading commit data...
socket_sysfs.c Loading commit data...
tcic.c Loading commit data...
tcic.h Loading commit data...
ti113x.h Loading commit data...
topic.h Loading commit data...
vg468.h Loading commit data...
vrc4171_card.c Loading commit data...
vrc4173_cardu.c Loading commit data...
vrc4173_cardu.h Loading commit data...
yenta_socket.c Loading commit data...
yenta_socket.h Loading commit data...