An open API service indexing awesome lists of open source software.

https://github.com/dasj/nscd-disable

Disable nscd with LD_PRELOAD
https://github.com/dasj/nscd-disable

c glibc ld-preload ld-preload-hack libc nscd

Last synced: 8 months ago
JSON representation

Disable nscd with LD_PRELOAD

Awesome Lists containing this project

README

          

# nscd-disable

Simple library to `LD_PRELOAD` into any process causing it to stop using nscd.
If you don't know what any of this means, this probably not the project for you.
Works around [nix#2693](https://github.com/NixOS/nix/issues/3693).

Build it like this:
```
gcc ./nscd-disable.c -o nscd-disable.so -fPIC -shared -ldl
```

Use it like this:
```
LD_PRELOAD=nscd-disable.so id
```