• 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
..
acorn/char Loading commit data...
acpi Loading commit data...
amba Loading commit data...
ata Loading commit data...
atm Loading commit data...
auxdisplay Loading commit data...
base Loading commit data...
block Loading commit data...
bluetooth Loading commit data...
cdrom Loading commit data...
char Loading commit data...
clocksource Loading commit data...
connector Loading commit data...
cpufreq Loading commit data...
crypto Loading commit data...
dio Loading commit data...
dma Loading commit data...
edac Loading commit data...
eisa Loading commit data...
fc4 Loading commit data...
firewire Loading commit data...
firmware Loading commit data...
hid Loading commit data...
hwmon Loading commit data...
i2c Loading commit data...
ide Loading commit data...
ieee1394 Loading commit data...
infiniband Loading commit data...
input Loading commit data...
isdn Loading commit data...
kvm Loading commit data...
leds Loading commit data...
lguest Loading commit data...
macintosh Loading commit data...
mca Loading commit data...
md Loading commit data...
media Loading commit data...
message Loading commit data...
mfd Loading commit data...
misc Loading commit data...
mmc Loading commit data...
mtd Loading commit data...
net Loading commit data...
nubus Loading commit data...
of Loading commit data...
oprofile Loading commit data...
parisc Loading commit data...
parport Loading commit data...
pci Loading commit data...
pcmcia Loading commit data...
pnp Loading commit data...
power Loading commit data...
ps3 Loading commit data...
rapidio Loading commit data...
rtc Loading commit data...
s390 Loading commit data...
sbus Loading commit data...
scsi Loading commit data...
serial Loading commit data...
sh Loading commit data...
sn Loading commit data...
spi Loading commit data...
ssb Loading commit data...
tc Loading commit data...
telephony Loading commit data...
uio Loading commit data...
usb Loading commit data...
video Loading commit data...
w1 Loading commit data...
xen Loading commit data...
zorro Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...