summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/klibc-udev/disable-uid-gid-lookup.patch
blob: 578c3eef2d3fc379cc010ad71c94a5ef4eed9c77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;
 }