-
Notifications
You must be signed in to change notification settings - Fork 1
frankwillmore/libfake
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
NAME
libfake
SYNOPSIS
LD_PRELOAD=/path/to/libfake.so.1 CMD [args ...]
DESCRIPTION
Libfake overrides system / library calls with fake ones.
Current implemented functions:
struct passwd *getpwuid(uid_t);
Environment variables are used for supplying fake results.
The fake getpwuid(3) uses LOGNAME, GID, GECOS, HOME, and SHELL,
to initialize the passwd structure.
The library prints out diagnostic information to stderr,
when the environment variable, VERBOSE_LIBFAKE, is set.
SEE ALSO
getpwuid(3)
BUGS
Only works with executables that use system ld.so facilities.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published