summaryrefslogtreecommitdiff
path: root/udev_libc_wrapper.c
AgeCommit message (Collapse)Author
2006-02-15include errno.h in udev_libc_wrapper.cKay Sievers
2006-01-09replace libsysfsKay Sievers
We never used any of the libsysfs convenience features. Here we replace it completely with 300 lines of code, which are much simpler and a bit faster cause udev(d) does not open any syfs file for a simple event which does not need any parent device information. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-11-07move some logging from dbg() to info()Marco d'Itri
2005-11-07add strerror() to error logsMarco d'Itri
2005-08-08switch some strlcpy's to memcpyKay Sievers
strlcpy counts the sourec string lengt and is therefore not suitable to copy a defined length of characters from one string to another. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-04-26[PATCH] klibc: version 1.0.5kay.sievers@vrfy.org
2005-04-26[PATCH] klibc: strlcpy/strlcat - don't alter destination if size == 0kay.sievers@vrfy.org
2005-04-26[PATCH] fix klibc's broken strlcpy/strlcatkay.sievers@vrfy.org
udevinfo segfaults cause klibc's strlcpy writes behind the specified size of the destination string. strlcat truncates the destination string which is also not what you expect from a concatenation function.
2005-04-26[PATCH] fix bad typo that prevents the GROUP to be appliedkay.sievers@vrfy.org
Thanks to Jim Gifford <maillist@jg555.com> for catching it.
2005-04-26[PATCH] fix header paths in udev_libc_wrapper.ctklauser@access.unizh.ch
In udev_libc_wrapper.c the paths to the local header files are wrong. The attached patch fixes this.
2005-04-26[PATCH] replace strncpy()/strncat() by strlcpy()/strlcat()kay.sievers@vrfy.org
2005-04-26[PATCH] remove Makefile magic for klibc integrationkay.sievers@vrfy.org
The new libsysfs and klibc don't need that anymore. Wrap getpwnam(), so we can use the built-in /etc/passwd parser for statically compiled glibc binaries too.