Skip to contentSkip to conversation

small cleanup udev-remove.c

udev Applied Rob Love 3 participants 3 messages Dec 22, 2003

lore
Share & tools
lore

Rob Love

author
#0 lore raw
Quoted 2 lines · Kay Sievers

Here is a small cleanup. It replaces the malloc in udev-remove.c with a struct, like we do in udev-add.c

Haha, Greg is such a kernel hacker.

malloc'ing a struct in user-space? ;-)

/me smiles

Rob Love

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

Applied
#1 lore raw
Quoted 3 lines · Kay Sievers

Here is a small cleanup. It replaces the malloc in udev-remove.c with a struct, like we do in udev-add.c

Applied, thanks.

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Rob Love
Quoted 7 lines · Rob Love
Quoted 2 lines · Kay Sievers

Here is a small cleanup. It replaces the malloc in udev-remove.c with a struct, like we do in udev-add.c

Haha, Greg is such a kernel hacker.

malloc'ing a struct in user-space? ;-)

Oh, but it was me.
I've moved it from the db-code, where the malloc was perfectly ok :)

Kay

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel