chiark / gitweb /
[PATCH] Libsysfs updates
authorananth@in.ibm.com <ananth@in.ibm.com>
Fri, 12 Mar 2004 08:57:30 +0000 (00:57 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:09 +0000 (21:35 -0700)
commitd1fb871d99db38c7704d8e583ff5e0a00e713837
treeca79c3a02e2f45e0b2db5cb4cd4b31629eec8c44
parent0a5417a0ebe92f96fb103399c9aacdf39c719271
[PATCH] Libsysfs updates

Please find attached a _BIG_ patch to update udev's libsysfs. Patch applies
on udev-021 and contains:

1. Updates to get udev's libsysfs to the latest (to be released) level.
2. Changes for C++ compatibility (use "char" and not "unsigned char"
unless absolutely necessary).
3. More importantly, take care of buffer overflows. Libsysfs now uses a
        scaled down version of Kay's "safe" macros.

Tested using a usb-storage device.

I will send you a doc update shortly.
libsysfs/dlist.c
libsysfs/dlist.h
libsysfs/sysfs/libsysfs.h
libsysfs/sysfs_bus.c
libsysfs/sysfs_class.c
libsysfs/sysfs_device.c
libsysfs/sysfs_dir.c
libsysfs/sysfs_driver.c
libsysfs/sysfs_utils.c