summaryrefslogtreecommitdiff
path: root/klibc_fixups.c
AgeCommit message (Collapse)Author
2005-04-26[PATCH] udevd race conditions and performance, assorted cleanups - take 2kay.sievers@vrfy.org
here is a patch on top of your nice improvements. I fixed the whitespace and it hopefully fixes the stupid timestamp bug in udevd. Some stupid OS sets the hwclock to localtime and linux changes it to UTC while starting. If any events are pending they may be delayed by the users time distance from UTC :) So we use the uptime seconds now.
2005-04-26[PATCH] replace fgets() with mmap() and introduce udev_lib.[hc]kay.sievers@vrfy.org
Here we replace the various fgets() with a mmap() call for the config file reading, due to the reported performance problems with klibc. Thanks to Patrick's testing, it makes a very small, close to nothing speed gain for libc users, but a 6 times speed increase for klibc users with a 1000 line config file. I've created a udev_lib.[hc] for this and also moved all the generic stuff from udev.h in there and uninlined the functions.
2005-04-26[PATCH] fix stroul endptr usekay.sievers@vrfy.org
The endptr is never NULL, so here we hopefully do the right thing.
2005-04-26[PATCH] add $local user spport for permissionskay.sievers@vrfy.org
2005-04-26[PATCH] udev - simple klibc textual uid/gid handlingkay.sievers@vrfy.org
Here we get a very dumb getpwnam() and getgrnam() for klibc to stop the confusion of not handling textual id's if klibc is used. If used with initrd we just need to copy the /etc/passwd and /etc/group file and all should work well.
2005-04-26[PATCH] get rid of functions in klibc_fixups that are now in klibcgreg@kroah.com
2005-04-26[PATCH] add getgrnam and getpwnam to klibc_fixups files.greg@kroah.com
Hopefully the klibc_fixups code will not be needed eventually.
2005-04-26[PATCH] get 'make release' to work properly again.greg@kroah.com