summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-17 18:00:48 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-17 18:13:46 +0200
commit888c6216ca9239be260fd832f900b9fcd784f806 (patch)
tree27a1a15fb6db75cdcfcc840682a3a57fb643b5ba /src/util.c
parent322198005ace1aca0d504726f2444c84bd8b5430 (diff)
nss: don't disable nscd anymore, since it doesn't make sense to socket-activate nscd anyway
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/util.c b/src/util.c
index 3bcce2f019..0b0063ee0e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -2981,23 +2981,6 @@ char *ellipsize(const char *s, unsigned length, unsigned percent) {
return r;
}
-void nss_disable_nscd(void) {
-
- void (*func)(void);
-
- /* This is an internal glibc function call. We are not
- * supposed to call this, because we are not nscd. However
- * sometimes we feel really dangerous and do it
- * nonetheless. Muahahah! But at least we protect this with a
- * dlsym() just in case glibc takes this away from us. */
-
- if ((func = dlsym(RTLD_DEFAULT, "__nss_disable_nscd"))) {
- log_debug("Disabling nscd.");
- func();
- } else
- log_debug("Cannot disable nscd.");
-}
-
int touch(const char *path) {
int fd;