diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-26 06:30:59 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-26 06:30:59 (GMT) |
commit | 22717178ce9fdec1b5711bcaea5a39e2334d94b1 (patch) | |
tree | 11ef6ca700440089dedccad0ea1637213effc3b4 /abs/core-testing/klibc-udev/disable-uid-gid-lookup.patch | |
parent | e4b0f387e05bf4ff0df15885a69c5e704ece612f (diff) | |
download | linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.zip linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.tar.gz linhes_pkgbuild-22717178ce9fdec1b5711bcaea5a39e2334d94b1.tar.bz2 |
Needed to installed newer kernel.
Diffstat (limited to 'abs/core-testing/klibc-udev/disable-uid-gid-lookup.patch')
-rw-r--r-- | abs/core-testing/klibc-udev/disable-uid-gid-lookup.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core-testing/klibc-udev/disable-uid-gid-lookup.patch b/abs/core-testing/klibc-udev/disable-uid-gid-lookup.patch new file mode 100644 index 0000000..578c3ee --- /dev/null +++ b/abs/core-testing/klibc-udev/disable-uid-gid-lookup.patch @@ -0,0 +1,33 @@ +diff -Nur udev-132.orig/udev/udev-util.c udev-132/udev/udev-util.c +--- udev-132.orig/udev/udev-util.c 2008-11-06 02:56:15.000000000 +0100 ++++ udev-132/udev/udev-util.c 2008-11-09 18:28:30.000000000 +0100 +@@ -126,6 +126,7 @@ + + uid_t util_lookup_user(struct udev *udev, const char *user) + { ++ /* + char *endptr; + int buflen = sysconf(_SC_GETPW_R_SIZE_MAX); + char buf[buflen]; +@@ -147,11 +148,13 @@ + err(udev, "specified user '%s' unknown\n", user); + else + err(udev, "error resolving user '%s': %m\n", user); ++ */ + return 0; + } + + extern gid_t util_lookup_group(struct udev *udev, const char *group) + { ++ /* + char *endptr; + int buflen = sysconf(_SC_GETGR_R_SIZE_MAX); + char buf[buflen]; +@@ -173,6 +176,7 @@ + err(udev, "specified group '%s' unknown\n", group); + else + err(udev, "error resolving group '%s': %m\n", group); ++ */ + return 0; + } + |