1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00
Commit Graph

14 Commits

Author SHA1 Message Date
Kay Sievers
e62fea3513 report failing getpwnam/getgrnam as error 2006-08-05 04:59:25 +02:00
Kay Sievers
05ec6e7507 switch ifdef __KLIBC__ to ifndef __GLIBC__ 2006-08-05 00:35:05 +02:00
Kay Sievers
4c2d04bd99 include errno.h in udev_libc_wrapper.c 2006-02-15 21:12:49 +01:00
Kay Sievers
1aa1e24848 replace libsysfs
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>
2006-01-09 21:18:00 +01:00
Marco d'Itri
df4e89bfa6 move some logging from dbg() to info() 2005-11-07 18:52:03 +01:00
Marco d'Itri
ff3e4bed21 add strerror() to error logs 2005-11-07 18:44:18 +01:00
Kay Sievers
13d11705bf switch some strlcpy's to memcpy
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-08-08 02:21:55 +02:00
kay.sievers@vrfy.org
12340f4108 [PATCH] klibc: version 1.0.5 2005-04-26 23:55:00 -07:00
kay.sievers@vrfy.org
4f8d44c220 [PATCH] klibc: strlcpy/strlcat - don't alter destination if size == 0 2005-04-26 23:55:00 -07:00
kay.sievers@vrfy.org
8a4c0c32f4 [PATCH] fix klibc's broken strlcpy/strlcat
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 23:54:59 -07:00
kay.sievers@vrfy.org
68c2c0b5b1 [PATCH] fix bad typo that prevents the GROUP to be applied
Thanks to Jim Gifford <maillist@jg555.com> for catching it.
2005-04-26 23:53:53 -07:00
tklauser@access.unizh.ch
a5b9e2994a [PATCH] fix header paths in udev_libc_wrapper.c
In udev_libc_wrapper.c the paths to the local header files are wrong.
The attached patch fixes this.
2005-04-26 23:53:53 -07:00
kay.sievers@vrfy.org
63f61c5cf6 [PATCH] replace strncpy()/strncat() by strlcpy()/strlcat() 2005-04-26 23:51:00 -07:00
kay.sievers@vrfy.org
57e1a2770c [PATCH] remove Makefile magic for klibc integration
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.
2005-04-26 23:48:48 -07:00