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
- Host: GitHub
- URL: https://github.com/dasj/nscd-disable
- Owner: dasJ
- License: mit
- Created: 2020-06-13T14:14:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-13T14:20:17.000Z (over 5 years ago)
- Last Synced: 2024-12-26T16:41:48.326Z (10 months ago)
- Topics: c, glibc, ld-preload, ld-preload-hack, libc, nscd
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```